https://github.com/tc39/proposal-duplicate-named-capturing-groups
This is a Stage 3 TC39 proposal. No known interop risk. No known web incompatibility risk.
No known ergonomics risks.
This is unlikely to be polyfillable since it's adding a new kind of RegExp syntax.
No known security risks.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
Debuggable like any other JS RegExp.
Tested in test262. https://github.com/tc39/test262/pull/3625 https://github.com/tc39/test262/pull/3706 https://github.com/tc39/test262/pull/3709
DevTrial on desktop | 123 |
DevTrial on Android | 123 |
Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).
NoneLGTM1
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAN-e9e_1DaU400sEcpB6RGv3pZg_382WduoF9MPZvK8QTPfdSQ%40mail.gmail.com.
LGTM1
On 3/7/24 6:22 PM, Shu-yu Guo wrote:
Contact emails
pth...@chromium.org, s...@chromium.org
Explainer
None
Specification
https://github.com/tc39/ecma262/pull/2721
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/09ed7eb2-94f7-435b-a8fe-9271a5feb76c%40chromium.org.
On 3/11/24 6:49 AM, Yoav Weiss (@Shopify) wrote:
On Fri, Mar 8, 2024 at 4:26 PM Mike Taylor <mike...@chromium.org> wrote:
LGTM1
On 3/7/24 6:22 PM, Shu-yu Guo wrote:
Contact emails
pth...@chromium.org, s...@chromium.org
Explainer
None
Specification
https://github.com/tc39/ecma262/pull/2721
What are the implications of this on regexes that already have duplicate named capture groups? Would their behavior change?
On 3/11/24 6:49 AM, Yoav Weiss (@Shopify) wrote:
Shu can confirm, but my understanding is any regexes in the wild that have duplicate named capture groups today are just busted (they should throw a SyntaxError - and those are pretty hard to miss). If they do exist in the wild, they should start working, which in theory would match author intent. The risk seems very low IMHO, if it exists at all.
On Fri, Mar 8, 2024 at 4:26 PM Mike Taylor <mike...@chromium.org> wrote:
LGTM1
On 3/7/24 6:22 PM, Shu-yu Guo wrote:
Contact emails
pth...@chromium.org, s...@chromium.org
Explainer
None
Specification
https://github.com/tc39/ecma262/pull/2721
What are the implications of this on regexes that already have duplicate named capture groups? Would their behavior change?
On Mon, Mar 11, 2024 at 8:26 AM Mike Taylor <mike...@chromium.org> wrote:On 3/11/24 6:49 AM, Yoav Weiss (@Shopify) wrote:
Shu can confirm, but my understanding is any regexes in the wild that have duplicate named capture groups today are just busted (they should throw a SyntaxError - and those are pretty hard to miss). If they do exist in the wild, they should start working, which in theory would match author intent. The risk seems very low IMHO, if it exists at all.
On Fri, Mar 8, 2024 at 4:26 PM Mike Taylor <mike...@chromium.org> wrote:
LGTM1
On 3/7/24 6:22 PM, Shu-yu Guo wrote:
Contact emails
pth...@chromium.org, s...@chromium.org
Explainer
None
Specification
https://github.com/tc39/ecma262/pull/2721
What are the implications of this on regexes that already have duplicate named capture groups? Would their behavior change?
Exactly right. This is a case of going from a SyntaxError to working, so there should be no back compat issues.
LGTM3
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOmohS%2BYMv5xFjsTH5%3DOYPQ0tWtivg3-pyq%3DWxHY%3DmHS0CuByg%40mail.gmail.com.