[Webkit-unassigned] [Bug 209573] New: Quantifiers with min/max values exceeding 2 ** 32 - 1 should be valid

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 25 17:26:58 PDT 2020


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

            Bug ID: 209573
           Summary: Quantifiers with min/max values exceeding 2 ** 32 - 1
                    should be valid
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: shvaikalesh at gmail.com

Test case:
  /b{99999999999999999999,}/.test("a")

Expected:
  false

Actual:
  SyntaxError thrown

ECMA262: https://tc39.es/ecma262/#sec-quantifier (no limit specified)
Test262: https://test262.report/browse/built-ins/RegExp/quantifier-integer-limit.js

-- 
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/20200326/d2a2cd7f/attachment.htm>


More information about the webkit-unassigned mailing list