tc39 / proposal-regexp-v-flag

UTS18 set notation in regular expressions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rationale for name `.unicodeSets`?

rauschma opened this issue · comments

This is how I make sense of the flags /u and /v:

  • Neither /u nor /v: character sets contain code units.
  • /u: character sets contain code points.
  • /v: character sets contain code point sequences.

Where does the name .unicodeSets come from? Would a different name better describe what the flag does?