pcre
pcre copied to clipboard
Why does the pcre module use PCRE and not PCRE2?
I'm curious to know the reason why the newer PCRE2 library is not used (the older PCRE library "is now at end of life, and is no longer being actively maintained").
I didn't know, we should switch.
I started on a patch but it quickly turned into a rewrite. See the pcre2 module documentation and the Github repo.
The functions and methods are similar to those in Go's regex package which should should ease porting Go code.
So far only tested on Linux.