Does Julia use original PCRE or PCRE2?

Does Julia 1.7.3 use the original Perl-compatible regular expressions (PCRE) or the second version (PCRE2)?

The Julia docs on regexes say Julia uses PCRE, but they link to the PCRE2 spec while making no mention of the version.

I realize this is kind of a mundane question, but I thought it might be useful to have a public answer (especially for new Julia programmers who are Googling).

1 Like
2 Likes