bug-grep
[Top][All Lists]
Advanced

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

Bug Report grep -E Debian Squeeze


From: Jean-Marc Messina
Subject: Bug Report grep -E Debian Squeeze
Date: Mon, 25 Mar 2013 12:47:46 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

Hi

I hope i report this bug from the good way, if not, please accept my aplogies and ignore that mail as it's my first bug report.

OS version : Debian Squeeze (6.0 , 6.2 , 6.7)

Grep version : GNU grep 2.6.3

Bug description :

We have been facing a weird behaviour of "grep -E" on Debian Squeeze versions which seems not to happen in lenny or wheezy versions.

Exemple :

echo "tanZANIE" | grep -E '^[a-z]{2,20}$'
No output (normal behaviour)

echo "tanzANIE" | grep -E '^[a-z]{2,20}$'
output : "tanzANIE"

another exemple :

echo "aB" | grep -E '^[a-z]{2,20}$'
output : "aB"

There seem to be a little problem with case sensitiveness or something.

It doesn't happen when using the -P option instead of -E, in this case it will work normally.

Hoping it helps.

Best regards,

--
*Jean-Marc Messina*
*Business & Decision Eolas <http://www.businessdecision-eolas.com>* - tel.: +33 (0)4 76 44 50 50 - fax.: +33 (0)4 76 44 00 41
Services en ligne managés 24/7 - e-commerce, e-administration, e-business

*Huit clients d'Eolas ont reçu cette année le label « Villes Internet » 2013. Découvrez les ! <http://www.businessdecision-eolas.com/Actualites/1318/pr/401/1765-actualites.htm?utm_source=eolas&utm_medium=basdemail&utm_campaign=20130214-ville-internet%22>

*


reply via email to

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