Some syntax doesn't behave as intended, like (\w+) doesn't properly detect that \w isn't inside a [], and matches one character at a time instead of adding | separators and a [].
\s for whitespace is not correctly replaced.
Errors are not thrown for using a non-capture group (we can also just delete that syntax and make all non-capture groups into capture groups).
We don't currently parse syntax like {3} but should just duplicate the previous group 3 times when converting to a parsed regex.
To support more characters and classes, such as PCRE, via perhaps just replacing our regex parsing with this library.
Also, the parsing at zk-regex library is now out-of-date with the parsing here -- somehow, the parsing there uses old JS files that need to be brought up to speed with what's here and the above improvements.
|
separators and a [].Also, the parsing at zk-regex library is now out-of-date with the parsing here -- somehow, the parsing there uses old JS files that need to be brought up to speed with what's here and the above improvements.