Follow-up Comment #2, bug #16179 (project grep):
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'
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?16179>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/