Re: bug#60690: -P '\d' in GNU and git grep
- From
Paul Eggert <eggert@cs.ucla.edu>
- Date
- Apr 5, 2023, 19:04 UTC
- Message-ID
- <33b3eb15-73e2-8004-9f06-19e5ec5c5877@cs.ucla.edu>
- In-Reply-To
- <6d86214a-1b80-eb88-1efb-36e61fd3203e@cs.ucla.edu>
On 2023-04-05 11:32, Paul Eggert wrote:
> in a February 8 commit[1], Philip Hazel changed pcre2grep to use > PCRE2_UCP, so this will mean 10.43 pcre2grep -u will behave like 3.9 GNU > grep -P did (though 3.10 has changed this).
Sorry, due to fumblefingers I gave the wrong URL for [1]. Here's a corrected URL:
https://github.com/PCRE2Project/pcre2/commit/8385df8c97b6f8069a48e600c7e4e94cc3e3ebd9
It also mentions a new --case-restrict option, intended for 10.43 pcre2grep. Given Perl's and PCRE2's plethora of options I suppose one could imagine several other options of that ilk.