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

Fixup language describing a normative string literal. #31

Closed rwaldron closed 6 years ago

rwaldron commented 6 years ago

From https://github.com/tc39/proposal-regexp-named-groups/commit/92ceba518c2ab0d2811c2efa8248ed1b3f8b5506:

When describing a string literal, the language used in ECMA-262 is "the string literal" or "the String" followed by the actual string, in quotes with fixed width font. The former only appears in non-normative prose, while the latter appears in algorithm steps. This should read:

the String `"$<"`

littledan commented 6 years ago

Oh sorry, I didn't see this PR and just landed an identical patch :(