Bug 70286

Summary: Incorrect behavior from String match/search & undefined pattern
Product: WebKit Reporter: Gavin Barraclough <barraclough>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Gavin Barraclough 2011-10-17 16:46:23 PDT
If the regexp argument passed to match or search is undefined, the RegExp constructor should produce a RegExp that matches "", not "undefined".
Comment 1 Gavin Barraclough 2011-10-17 16:48:29 PDT
Fixed in r97673