Closed rrthomas closed 7 years ago
Shouldn't this issue be closed now?
Yup! Well done.
@shmuz Is a JIT-compilation supported?
It should be supported now (jit_compile
method has been added).
It is still undocumented, see in the source code how to use it.
It would be nice to have a PCRE2 binding: https://lists.exim.org/lurker/message/20150105.162835.0666407a.en.html
PCRE2 is not API-compatible with PCRE, so it would be perfectly natural to add a new flavor for it; it would not make sense to replace the old PCRE binding, as presumably users will still want that for some time to come (even though the changes at the "user" end are smaller).
PCRE2 has some nice features, including "search-and-replace" (which we might want to add to the API), and the ability to have embedded NULs in patterns, subject strings and replacement strings.