[Webkit-unassigned] [Bug 17822] Checking for myRegExp.compile returns true but myRegExp.compile is undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 11 15:22:05 PDT 2012


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


Gavin Barraclough <barraclough at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE
                 CC|                            |barraclough at apple.com




--- Comment #3 from Gavin Barraclough <barraclough at apple.com>  2012-03-11 15:22:05 PST ---
>    myRegExp=myRegExp.compile('mans');

This test case won't work on Safari, Opera or Chrome - all support compile, but all return undefined.  To make this work on multiple browsers you want this line to be:

    myRegExp.compile('mans');

cheers, G.

*** This bug has been marked as a duplicate of bug 71784 ***

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