PCRE2 library release 10.37

The PCRE2 10.37 library has been released, providing a set of C functions with the implementation of regular expressions and pattern matching tools that are similar in syntax and semantics to Perl 5 regular expressions. PCRE2 is a reworked implementation of the original PCRE library with an incompatible API and advanced features. The library was founded by the developers of the Exim mail server and distributed under the BSD license.

Major changes:

  • Removed POSIX function symbols such as regcomp from the libpcre2-posix library as they caused problems for some applications. The pcre2-symbol-clash.patch patch has been accepted upstream. The ABI version of this library has also been updated.
  • Fixed an issue that hypothetically caused a null pointer to be dereferenced.
  • Two bugs have been fixed when handling very large numbers, resulting in behavior inconsistent with the Perl regex engine. For example, the expression "/\214748364/" resulted in an overflow instead of being treated as an octal number "\214" followed by the characters "748364".
  • Fixed incorrect behavior when using "\K" operation in templates.
  • The optimization of character repetition operations has been returned to the JIT.

Source: opennet.ru

Add a comment