[Webkit-unassigned] [Bug 23641] New: Parsing octal escapes in regular expressions has changed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 30 04:58:17 PST 2009


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

           Summary: Parsing octal escapes in regular expressions has
                    changed.
           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: erikcorry at google.com


I suspect this may be an unintentional WREC change.  Safari used to do the same
as IE on this one, now it doesn't.  We are dealing with syntax that the
standard deems incorrect, but no browser seems to throw a syntax error on it.

Test JS:

abc\0def\00pqr\000xyz\0000AB/.exec("abc\0def\00pqr\000xyz\0000AB")

Old result was a string starting with "abc".  New result is null.

The problem is the interpretation of \0000


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



More information about the webkit-unassigned mailing list