[Top][All Lists]

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

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

From: Paul Eggert
Subject: bug#62983: workaround PCRE2 bug affecting at least \D and \W
Date: Sat, 29 Apr 2023 18:15:05 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0

On 2023-04-28 23:54, Jim Meyering wrote:
I've made some small adjustments and tidied up the ChangeLog in the attached.

One question about that patch (both original and as revised). Why do we need a new binary_safe slot in struct pcre_comp? Shouldn't the binary_safe stuff be done at compile-time rather than run-time?

Proposed revised patch attached. It also tweaks commentary slightly, and uses a more uniform style in the test comments (something like what Carlo suggested, but a bit wordier since it names the characters).

Attachment: 0001-pcre-work-around-a-PCRE2_MATCH_INVALID_UTF-bug.patch
Description: Text Data

reply via email to

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