-
-
Notifications
You must be signed in to change notification settings - Fork 275
Closed
Description
Using Safari Technology Preview I get the following error:
null is not an object (evaluating 'XRegExp.exec(appliedPattern, nativeTokens[scope], pos, 'sticky')')
It is thrown by the following line:
var token = XRegExp.exec(appliedPattern, nativeTokens[scope], pos, 'sticky')[0];To replicate I copied https://github.com/slevithan/xregexp/blob/master/xregexp-all.js and threw it into a codepen. No other JS was added.
http://codepen.io/gpbmike/pen/BKENOg
Open up the developer console and you can see the error.