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

Previous Next

Package: grep;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Sun, 19 Mar 2023 00:07:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 62267 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jim Meyering <jim <at> meyering.net>
Cc: 62267 <at> debbugs.gnu.org
Subject: Re: bug#62267: grep-3.9 bug: \d matches multibyte digits
Date: Sat, 18 Mar 2023 17:39:11 -0700
Thanks for looking into this. A couple of questions.

First, some documentation issues. Why is PCRE2 incompatible with Perl on 
this issue? Are there other areas where the two are incompatible? Are 
these incompatibilities documented anywhere? Is the goal for 'grep -P' 
to be compatible with Perl, not with PCRE2?

Second, although that patch focuses on \d, doesn't \D have a similar 
problem and shouldn't it be fixed too?

(OK, that was more than two questions. :-)




This bug report was last modified 2 years and 142 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.