buggrep - Bugs: bug #16179, 'egrep -i ' + backreference = bug


You are not allowed to post comments on this tracker with your current authentication level.

bug #16179: 'egrep -i ' + backreference = bug

Submitted by:  Yakov Lerner <ilerner>
Submitted on:  Fri 24 Mar 2006 07:17:32 PM UTC  
Votes:  101  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 17 Mar 2010 08:48:04 AM UTC, comment #4:

Thank you for the bug report. This bug has been fixed in the
development sources, which can be downloaded using git from

Paolo Bonzini <bonzini>
Wed 07 May 2008 06:03:55 PM UTC, comment #3:

I am disallowing further posts on this item due to spam abuse. If you wish to comment, please send your comments to the bug-grep mailing list or open a new item.

Tony Abou-Assaleh <taa>
Project Administrator
Mon 01 Jan 2007 02:37:06 PM UTC, comment #2:

Sorry, it is indeed a bug. It only works right for UTF8 locales,
not for other ones:

$ echo 'The the' | LC_ALL=nl_NL.utf8 src/grep -E -i '(the) \1'
The the
$ echo 'The the' | LC_ALL=nl_NL src/grep -E -i '(the) \1'
$ echo 'The the' | LC_ALL=C src/grep -E -i '(the) \1'

Benno Schulenberg <bens>
Mon 15 May 2006 09:15:37 PM UTC, comment #1:

Apparently fixed in CVS:

$ echo 'The the'|src/egrep -i '(the) \1'
The the

Benno Schulenberg <bens>
Fri 24 Mar 2006 07:17:32 PM UTC, original submission:

echo 'The the'|egrep -i '(the) \1'
no match. Match expected.
Other similar cases:
echo 'The The'|egrep -i '(the) \1'
echo 'the The'|egrep -i '(the) \1'


Yakov Lerner <ilerner>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by bonzini (Updated the item)
  • -unavailable- added by taa (Posted a comment)
  • -unavailable- added by bens (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 101 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 17 Mar 2010 08:48:04 AM UTCbonziniStatusNone=>Fixed
    Sat 06 Feb 2010 01:09:08 PM UTCbonziniDiscussion LockLocked=>Unlocked
    Wed 07 May 2008 06:03:55 PM UTCtaaDiscussion LockUnlocked=>Locked
    Thu 04 Jan 2007 09:36:29 PM UTCzardozCarbon-Copy-=>Added zardoz
    Thu 13 Apr 2006 11:33:14 PM UTCbbyerCarbon-Copy-=>Added bbyer

    Back to the top

    Powered by Savane 3.1-cleanup1