[ "/ /;", "/ foo/;", "/foo /;", "/foo bar/;", "/foo bar baz/;", "/foo [ba]r b(a|z)/;", "/foo +/;", "/foo +?/;", "/foo */;", "/foo *?/;", "/foo */;", "/foo ?/;", "/foo {2}/;", "/foo {2}a{1,2}/;", "/foo {2,}/;", "/foo {,2}/;", "/foo {2,3}/;", "/foo + * * {2,}/;", // These are valid regex, but invalid ranges (they are treated as regular characters) "/foo {}/;", "/foo {,}/;", "/foo {,2}/;", "/foo {1 2}/;", "/foo {1/;", "/foo {1,2/;", "/\u200E\u2066\u2069 /gu;" ]