e22fbda689
The semantics of the first argument changed from literal -> regexp if the 'g' option was specified. To remove ambiguity, stop using the spidermonkey extension and create a standard RegExp object. https://bugzilla.gnome.org/show_bug.cgi?id=630539