GNU bug report logs - #51235
resolve old FIXME in PCRE implementation to allow more than 1 expression

Previous Next

Package: grep;

Reported by: Carlo Arenas <carenas <at> gmail.com>

Date: Sat, 16 Oct 2021 07:29:01 UTC

Severity: normal

Tags: moreinfo

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Carlo Arenas <carenas <at> gmail.com>
Cc: 51235 <at> debbugs.gnu.org
Subject: Re: bug#51235: resolve old FIXME in PCRE implementation to allow more
 than 1 expression
Date: Sat, 16 Oct 2021 00:50:04 -0700
On 10/16/21 12:00 AM, Carlo Arenas wrote:
> With this patch, multiple expressions (from -e or -f) are now
> acceptable with -P for easier side by side comparison with the other
> supported engines.

Surely this mishandles shell commands like this one:

grep -P '[
a]'

which should be an error, but with that patch would not be an error.




This bug report was last modified 3 years and 204 days ago.

Previous Next


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