[Webkit-unassigned] [Bug 119191] New: Regular expressions with ".?" expressions at the start and the end match the entire string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 28 05:12:21 PDT 2013


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

           Summary: Regular expressions with ".?" expressions at the start
                    and the end match the entire string
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: till at tillschneidereit.net


STR:

Execute the following code in JSC:

'abcdefghijk'.match('.?e.?')

Expected result:
def

Actual result:
abcdefghijk


This also happens in SpiderMonkey, so it's almost guaranteed to be a Yarr issue.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list