[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #33198] Incorrect bracket expression when parsing in ru_RU.KOI8-R (
From: |
Santiago Ruano Rincón |
Subject: |
[bug #33198] Incorrect bracket expression when parsing in ru_RU.KOI8-R (Russian locale) |
Date: |
Mon, 02 May 2011 09:50:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20110327 Firefox/4.0 Iceweasel/4.0 |
URL:
<http://savannah.gnu.org/bugs/?33198>
Summary: Incorrect bracket expression when parsing in
ru_RU.KOI8-R (Russian locale)
Project: grep
Submitted by: santiago
Submitted on: lun 02 may 2011 09:50:04 GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Hi,
Reported in Debian BTS: http://bugs.debian.org/624387
grep incorrectly parses braket expressions when using a Russian locale:
$echo Пример|grep -qE "[Пп]ример"; echo $?
1
$echo Sример|grep -qE "[Ss]ример"; echo $?
0
While the problem seems to be present in 2.6.3 and 2.7 versions, 2.5.3 works
successfully:
$./grep -V
GNU grep 2.5.3
...
$echo Пример|./grep -qE "[Пп]ример"; echo $?
0
It seems to be Ok with UTF-8 too.
Thanks,
Santiago
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33198>
_______________________________________________
Mensaje enviado vía/por Savannah
http://savannah.gnu.org/
- [bug #33198] Incorrect bracket expression when parsing in ru_RU.KOI8-R (Russian locale),
Santiago Ruano Rincón <=