[Top][All Lists]

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

bug#62267: grep-3.9 bug: \d matches multibyte digits

From: Paul Eggert
Subject: bug#62267: grep-3.9 bug: \d matches multibyte digits
Date: Sun, 19 Mar 2023 01:54:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 2023-03-19 01:28, Paul Eggert wrote:
Looking at the source code again, how about if we move the PCRE-specific changes from src/grep.c to src/pcresearch.c which is where it really belongs, and more importantly use the bleeding-edge PCRE2_EXTRA_ASCII_BSD macro if available?

Something like the attached patch, say. This patch doesn't take your \D fixes (or the above suggestions) into account.

Oops, that patch assumed match_lines. Also, it covered two topics in the doc fix. I installed the obvious topic in the doc change, and removed the match_lines assumption. Revised patch attached; please ignore the patch of a half-hour ago.

Attachment: 0001-grep-forward-port-to-PCRE2-10.43.patch
Description: Text Data

reply via email to

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