bug#60690: [PATCH v2] grep: correctly identify utf-8 characters with \{b, w} in -P

2023-01-09 Thread Ævar Arnfjörð Bjarmason
On Sun, Jan 08 2023, Carlo Marcelo Arenas Belón wrote: > When UTF is enabled for a PCRE match, the corresponding flags are > added to the pcre2_compile() call, but PCRE2_UCP wasn't included. > > This prevents extending the meaning of the character classes to > include those new valid characters

bug#60690: [PATCH v2] grep: correctly identify utf-8 characters with \{b, w} in -P

2023-01-09 Thread Ævar Arnfjörð Bjarmason
On Mon, Jan 09 2023, Paul Eggert wrote: > On 1/9/23 03:35, Ævar Arnfjörð Bjarmason wrote: > >> You almost never want "everything Unicode considers a digit", and if you >> do using e.g. \p{Nd} instead of \d would be better in terms of >> expressing your inte