GNU bug report logs - #26864
Clarification on obscure regular expressions mentioned in known bugs

Previous Next

Package: grep;

Reported by: Sundeep Agarwal <learnbyexample.net <at> gmail.com>

Date: Wed, 10 May 2017 15:31:02 UTC

Severity: normal

Merged with 36148

Full log


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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Sundeep Agarwal <learnbyexample.net <at> gmail.com>
Cc: 26864 <at> debbugs.gnu.org
Subject: Re: bug#26864: Clarification on obscure regular expressions mentioned
 in known bugs
Date: Mon, 30 Dec 2019 01:01:21 -0800
[Message part 1 (text/plain, inline)]
On 5/10/17 1:48 AM, Sundeep Agarwal wrote:

> my question is whether these regular expression examples come under
> 'obscure regular expressions' mentioned in the man page.

No, they're bugs in grep's regular expression implementation, which is taken
from glibc. I filed a bug report against glibc here:

https://sourceware.org/bugzilla/show_bug.cgi?id=25322

and installed the attached patches to GNU grep to try to document this mess
better. The first patch is the important one; the other two merely standardize
spelling and fix a typo in the first patch. Thanks for reporting the problem.
[0001-doc-mention-back-reference-bugs.patch (text/x-patch, attachment)]
[0002-doc-spell-back-reference-more-consistently.patch (text/x-patch, attachment)]
[0003-doc-fix-bug-typo.patch (text/x-patch, attachment)]

This bug report was last modified 5 years and 166 days ago.

Previous Next


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