tc39 / proposal-regexp-named-groups

Named capture groups for JavaScript RegExps
https://tc39.github.io/proposal-regexp-named-groups/
222 stars 21 forks source link

Use two colons to separate punctuation #9

Closed mathiasbynens closed 7 years ago

mathiasbynens commented 7 years ago

Productions of the lexical and RegExp grammars are distinguished by having two colons (::) as separating punctuation.

https://tc39.github.io/ecma262/#sec-lexical-and-regexp-grammars

Ref. https://github.com/tc39/proposal-regexp-named-groups/commit/80dc002a4aa53b8c350347b5646f4b541ffaca6f#commitcomment-20418805

littledan commented 7 years ago

The spec has been switched to two colons. This PR has conflicts and isn't necessary anymore, so closing.