tc39 / proposal-regexp-v-flag

UTS18 set notation in regular expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

attempt at complete spec

markusicu opened this issue · comments

We tried to discuss syntax elements separately, for example single vs. double punctuation, where brackets (nested classes) should be required for grouping, and operator precedence. We found that these questions were too interrelated; when we thought we were converging on one and then considered what that would look like with different choices for other questions, it kept unraveling.

So instead here is our WIP “ES regex: attempt at complete spec for new syntax with operators”.

Draft spec changes in Google Docs for now for easy editing & commenting. ES syntax notation. Static Semantics still in comments next to syntax productions.

Draft spec changes in Google Docs for now for easy editing & commenting. ES syntax notation. Static Semantics still in comments next to syntax productions.

@markusicu Since we plan on asking for Stage 2 based on the doc rather than an HTML version, please add the link to https://github.com/tc39/proposal-regexp-set-notation#specification as well. Thanks!