[Webkit-unassigned] [Bug 178175] New: Test262 failure with Named Capture Groups - using a reference before the group is defined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 11 11:24:31 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=178175

            Bug ID: 178175
           Summary: Test262 failure with Named Capture Groups - using a
                    reference before the group is defined
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: msaboff at apple.com

This Test262 test is failing - JSTests/test262/test/built-ins/RegExp/named-groups/unicode-references.js
Exception: SyntaxError: Invalid regular expression: invalid backreference for unicode pattern
at JSTests/test262/test/built-ins/RegExp/named-groups/unicode-references.js:33

The line in question is:
  assert(compareArray(["bab", "b"], "bab".match(/\k<a>(?<a>b)\w\k<a>/u)));

Here the named group “a” is being referenced before if is defined.  Seems like we’re doing the right thing, but we need to check.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171011/4162db49/attachment-0001.html>


More information about the webkit-unassigned mailing list