Home › Forums › kdb+ › Why regular expression doesn’t work with bracket? › Re: Why regular expression doesn’t work with bracket?
-
kdb+ does not implement full regex.
https://code.kx.com/q/basics/regex/
It supports
?
*
[]
^
If you want full support you can use the C interface to bring in external libraries
- https://code.kx.com/q/basics/regex/#regex-libraries
- https://code.kx.com/developer/libraries/regular-expression-pcre2/
- https://github.com/KxSystems/ffi/blob/master/examples/pcre.q