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 #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Carlo Arenas <carenas <at> gmail.com>
To: bug-grep <at> gnu.org
Subject: resolve old FIXME in PCRE implementation to allow more than 1
 expression
Date: Sat, 16 Oct 2021 00:00:12 -0700
[Message part 1 (text/plain, inline)]
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.

Alternatively, multiple expressions could be compiled and run
sequentially for matching, but I suspect the added compilation time is
likely higher, and JIT might be able to run the alteration fast enough
for most cases.

Hopefully this tiny change is better than the status quo, though.

Carlo
[0001-pcre-allow-more-than-1-regular-expression.patch (application/octet-stream, attachment)]

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.