Steven R. Loomis
Steven R. Loomis
cc @mathiasbynens
@mathiasbynens — thanks for your work on this. What's puzzling to me is why `Blocks.txt` is even being looked at here. It's for display names, not programmatic use. `PropertyValueAliases.txt` is...
@mathiasbynens [UAX44-LM2](http://unicode.org/reports/tr44/#UAX44-LM2) is of course a **great** reason to, quote, _Ignore case, whitespace, underscore (‘_’), and all medial hyphens except the hyphen in U+1180 HANGUL JUNGSEONG O-E_, unquote. So I'm...
@mathiasbynens OK. I think there's a lot more needed than just support within regex (as important as that is), especially getting the general property and other properties given a codepoint....
@littledan sure, anything that's not just a single boolean: - Getting the decimal value of a character: to be able to implement parsing/analysis - Getting the script of a character,...
OK so given the current status of regex properties probably a good way forward on this is something like: ```js "и".getUnicodeProperty("Gc", {type: "short"}) // "Ll" "и".getUnicodeProperty("Gc", {type: "long"}) // "Lowercase_Letter"...
perhaps replace the proposal above with `"Aa3".getUnicodePropertyAt(1, "gc") // "Lowercase_Letter"` and make the index optional (as with charCodeAt). So minimally: `"и".getUnicodeProperty("gc")`, maximally `"и".getUnicodeProperty(0, "gc", {type: "long"})` But I could see...
as to 262/402: if an implementation can support `/\p{gc=Ll}/u.test('и')` it could support my proposed API, so it seems like they can go together, feature wise.
Note [tr35](http://www.unicode.org/reports/tr35/tr35-dates.html#Week_Data) specifically: > The day indicated by firstDay is the one that should be shown as the first day of the week in a calendar view. This is not...
> Context: https://github.com/tc39/proposal-temporal/pull/1245#discussion_r570535413 > > > > Should the Hebrew calendar implementation consider a single era with value 'am' or 'ah', or should it not accept any era values? >...