Closed gost-serb closed 11 months ago
The following method of regexp creation doesn't work:
var x = new RE(/foo/, 'gim');
while the same combination of arguments works in standard RegExp
RegExp
For now, use a string as the first argument. You can get it from a regular expression object too.
The following method of regexp creation doesn't work:
while the same combination of arguments works in standard
RegExp