pcre icon indicating copy to clipboard operation
pcre copied to clipboard

Why does the pcre module use PCRE and not PCRE2?

Open srackham opened this issue 2 years ago • 2 comments

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").

srackham avatar Sep 27 '22 08:09 srackham

I didn't know, we should switch.

medvednikov avatar Sep 27 '22 10:09 medvednikov

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.

srackham avatar Oct 05 '22 22:10 srackham