bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep 2.4.2 incorrect handling of '[x^]'


From: Keith Owens
Subject: grep 2.4.2 incorrect handling of '[x^]'
Date: Tue, 26 Jun 2001 16:03:36 +1000

# echo 123 | grep '[x^]'
123
# grep --version
grep (GNU grep) 2.4.2

Incorrect handling of bracketed expressions containing '^' other than
as the first character.  grep calls regcomp for each character [x-x],
[^-^], the last ends up matching the first character in all input.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]