bug-grep
[Top][All Lists]
Advanced

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

Bug: grep -P -i "hello\Wworld"


From: Mathias
Subject: Bug: grep -P -i "hello\Wworld"
Date: Wed, 3 Oct 2007 17:55:56 +0200

Hey mighty GNU/grep people.

When using perl-style, case-insensitive regular expressions, the input
regex is lowercased. This also turns \W, \S and \D into \w, \s and \d,
respectively. This can be worked around, but I still think it should
be considered a bug, since there was no indications at first - all I
got was empty stdout and stderr, and -c returned 0 lines.

I used it to split input separated by whitespace - ^\s*\S+\s+\S+ etc.

Thanks in advance, and thanks for a great to(ol|y).

-- 
Mvh. Mathias Rav
Webudvikler hos Rav-stamps
address@hidden
--------
Regards, Mathias Rav.
Web developer at Rav-stamps
address@hidden




reply via email to

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