[Webkit-unassigned] [Bug 6257] New: Throw errors on invalid expressions/support non-PCRE regexp (KJS merge)

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Dec 27 12:18:06 PST 2005


http://bugzilla.opendarwin.org/show_bug.cgi?id=6257

           Summary: Throw errors on invalid expressions/support non-PCRE
                    regexp (KJS merge)
           Product: WebKit
           Version: 412+
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: JavaScript
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: maksim at kde.org


The attached makes the RegExp constructor throw JS error on syntax errors, and 
by doing that for the POSIX path also makes it work... It fixes one of the KJS 
RegExp tests, but makes one of the Mozilla tests throw an exception here where 
it used to "work" --- I do not think that's a regression. (It also shows the 
lack of \u support --- but that's a separate change). 
 
This is a merge of: 
r455153 | montanaro | 2005-08-30 14:00:05 -0400 (Tue, 30 Aug 2005) | 2 lines 
Backport from head, no need to call regcomp twice 
------------------------------------------------------------------------ 
r454902 | montanaro | 2005-08-30 04:33:46 -0400 (Tue, 30 Aug 2005) | 2 lines 
Committed fix for bug #110995 (non-pcre regular expressions do not work) 
------------------------------------------------------------------------ 
r393449 | porten | 2005-02-27 01:24:53 -0500 (Sun, 27 Feb 2005) | 2 lines 
throw exception when constructing an invalid regexp

-- 
Configure bugmail: http://bugzilla.opendarwin.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