regex_feature.test
315 Bytes
/foobar/
/fo[o](?=bar)/
/\/\\\[\]/
/(fo|o?)+b*ar?/
----------------------------------------------------
[
["regex", "/foobar/"],
["regex", "/fo[o](?=bar)/"],
["regex", "/\\/\\\\\\[\\]/"],
["regex", "/(fo|o?)+b*ar?/"]
]
----------------------------------------------------
Checks for regexes.