Bug 14823

Summary: Some XRegExp regular expressions are syntax errors in WebKit
Product: WebKit Reporter: Geoffrey Garen <ggaren>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, darin, ddkilzer, ian, oliver
Priority: P2 Keywords: InRadar
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://blog.stevenlevithan.com/archives/xregexp-safari

Description Geoffrey Garen 2007-07-30 20:53:25 PDT
Reported here: http://blog.stevenlevithan.com/archives/xregexp-safari.

The following regexps are syntax errors in WebKit but not Firefox:

/[[\\]/
/[^[\\]/
/[abc[\\]/

"SyntaxError: Invalid regular expression: missing terminating ] for character class"
Comment 1 Adam Roben (:aroben) 2007-07-30 22:20:50 PDT
<rdar://problem/5336079>
Comment 2 Ian 'Hixie' Hickson 2007-12-28 22:27:40 PST
This seems to be fixed in the nightlies.