* Fix regular expression construction The previous implementation regular expression (e.g. /abc/) used the global `RegExp`, which caused errors when the `RegExp` was overwritten. * Apply Review