bug-grep
[Top][All Lists]
Advanced

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

bug#62657: PCRE2-related workarounds that GNU grep might need


From: Paul Eggert
Subject: bug#62657: PCRE2-related workarounds that GNU grep might need
Date: Mon, 3 Apr 2023 14:48:30 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1

Recent commits in Git do the following to work around bugs in PCRE2. Quite possibly GNU grep -P should do the same, when in a UTF-8 locale.

  * Disable PCRE2_UCP unless PCRE2 10.35 or higher.

* If ignoring case and PCRE2_MATCH_INVALID_UTF is defined, then enable PCRE2_NO_START_OPTIMIZE unless PCRE2 10.36 or higher.





reply via email to

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