You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RegExp.prototype.unicodeSets has the value true if the v flag was used; otherwise, false. The v flag is an "upgrade" to the u flag that enables more Unicode-related features. ("v" is the next letter after "u" in the alphabet.) Because u and v interpret the same regex in incompatible ways, using both flags results in a SyntaxError.
Browser support: widespread in evergreen browsers, latest NodeJS, Deno
RegExp.prototype.hasIndices has the value true if the d flag was used; otherwise, false. The d flag indicates that the result of a regular expression match should contain the start and end indices of the substrings of each capture group. It does not change the regex's interpretation or matching behavior in any way, but only provides additional information in the matching result.
Browser support: universal in evergreen browsers, NodeJS LTS, Deno
The text was updated successfully, but these errors were encountered:
@gskinner@wdamien if someone hypothetically were to make a PR adding v flag support, what are the chances of it getting merged and deployed in the near future?
v
flag (unicodeSets
)Browser support: widespread in evergreen browsers, latest NodeJS, Deno
d
flag (hasIndices
)Browser support: universal in evergreen browsers, NodeJS LTS, Deno
The text was updated successfully, but these errors were encountered: