Fix infinite loop when skipping statements, see #167

This commit is contained in:
dcodeIO
2018-07-10 17:38:03 +02:00
parent cc72d02542
commit 585d246165
7 changed files with 14 additions and 14 deletions

View File

@ -2,6 +2,7 @@
/(abc)\//;
var re = /(abc)\//ig;
var noRe = !/(abc)\//i;
b / ig;
/(abc)\//iig;
/(abc)\//iX;
false && /abc/gX.test(someString) || true;