Bugzilla – Bug 148453
Grep fails to match a space character in [:space:] in en_US.UTF-8 locale
Last modified: 2006-03-28 21:48:49 UTC
$ uname -a Linux zach 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64 x86_64 x86_64 GNU/Linux The test case for this bug is very simple. This should output "MATCH" but does not: $ (export LANG=en_US.UTF-8; echo '1 2 3' | grep -Eq '^([[:digit:]]+[[:space:]]+){2}' && echo MATCH ) $
reproducable on 10.1 beta3 (running in chroot currently) :-( (LANG=de_DE@euro works as expected.)
Works correctly on SLES 9 with grep version grep-2.5.1-427.1. Fails as listed on SuSE 10 with grep version grep-2.5.1a-5.
Fixed.
works in 10.1 beta8 (chrooted again) Thanks!