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:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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
  • -email is unavailable- added by bonzini (Updated the item)
  • -email is unavailable- added by taa (Posted a comment)
  • -email is unavailable- added by bens (Posted a comment)

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

    Only logged-in users can vote.




    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-03-17 bonzini StatusNone => Fixed
        Open/ClosedOpen => Closed
    2010-02-06 bonzini Discussion LockLocked => Unlocked
    2008-05-07 taa Discussion LockUnlocked => Locked
    2007-01-04 zardoz Carbon-Copy- => Added zardoz
    2006-04-13 bbyer Carbon-Copy- => Added bbyer

    Back to the top

    Powered by Savane 3.4