bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62983: workaround PCRE2 bug affecting at least \D and \W


From: Carlo Marcelo Arenas Belón
Subject: bug#62983: workaround PCRE2 bug affecting at least \D and \W
Date: Thu, 20 Apr 2023 19:04:18 -0700

All versions of PCRE2 that include PCRE2_MATCH_INVALID_UTF had a bug on
its JIT implementation that results in failure to match for the negative
perl classes, and seems to be easier to replicate when the matching
character is a multibyte one.

Disable that flag and use the original fallback instead.

Alternatively JIT could be disabled instead, but the option selected has
less of an impact on performance.

Carlo

Attachment: 0001-pcre-workaround-bug-affecting-W-or-D.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]