Mathias Bynens
Mathias Bynens
@hashseed Agreed; that is what the discussion I referenced concluded as well. I’ve now updated my example (originally intended to explain how aliases should throw only) to avoid confusion. Note...
As far as I can see, only `PropertyValueAliases.txt` suggests it. `Blocks.txt` has the block name with spaces instead of underscores. I’ve asked for clarification here: http://www.unicode.org/mail-arch/unicode-ml/y2016-m05/thread.html#79
I hope to present this as a stage 0 strawman at a future TC39 meeting. After implementing support for `\p{…}` and `\P{…}` in my regular expression transpiler https://github.com/mathiasbynens/regexpu-core ([online demo](https://mothereff.in/regexpu#input=var+regex+%3D+/%5Cp%7BScript%3DGreek%7D/u%3B&unicodePropertyEscape=1)),...
@hashseed There is another issue though: e.g. `Blocks.txt` has `Superscripts and Subscripts`, whereas `PropertyValueAliases.txt` has `Superscripts_And_Subscripts`, which is the canonical property value. Note the difference in casing of the letter...
@srl295 It may not be what it’s for, but it would be a direct consequence of following http://unicode.org/reports/tr18/#RL1.2 which specifies that “matching of […] values must follow the Matching Rules...
@srl295 Have you seen https://github.com/mathiasbynens/ecma262/pull/1#discussion_r65918515? It was the context for the above discussion. > But, it should work — because of UAX44-LM2. Sure — if we decide to follow that....
Updated https://github.com/mathiasbynens/ecma262/pull/1/files to explicitly mention `PropertyAliases.txt` & `PropertyValueAliases.txt`.
There is now a standalone repo for this proposal: https://github.com/mathiasbynens/es-regex-unicode-property-escapes Let’s move the discussion over there.
@RReverser Not sure what you're referring to exactly. Some brief "white flashes" while scrolling are expected when you scroll to a new area that hasn't gone through layout yet, but...
@RReverser Oh wow, thanks for providing that video. I had not run into that! Please file a crbug!