[Webkit-unassigned] [Bug 35856] New: '^\d' passed to the RexExp::create as '^d'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 8 02:37:20 PST 2010


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

           Summary: '^\d' passed to the RexExp::create as '^d'
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kb at inf.u-szeged.hu


'123xyz'.match(new RegExp('^\d+')) does not find a match.
When I set a breakpoint into RegExp::create I saw that it gets the pattern as
'^d'.
This problem is hidden by the expected.html from the regtests.
I think this can be a parser (maybe lexer) bug or a bug of the bytecode
generating.

-- 
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