Package: grep
Version: 2.6.3-3
Severity: normal

Hello,

$ echo cla | LC_ALL=fr_FR grep '\<cl[A-Z]' && echo found
$ echo cle | LC_ALL=fr_FR grep '\<cl[A-Z]' && echo found
cle
found
$ echo clA | LC_ALL=fr_FR grep '\<cl[A-Z]' && echo found
clA
found
$ echo clE | LC_ALL=fr_FR grep '\<cl[A-Z]' && echo found
clE
found
$ 
$ echo cle | LC_ALL=C grep '\<cl[A-Z]' && echo found
$ echo cle | LC_ALL=C grep 'cl[A-Z]' && echo found
$ 

So cla doesn't match \<cl[A-Z] but cle does!

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grep depends on:
ii  dpkg                      1.15.7.2       Debian package management system
ii  install-info              4.13a.dfsg.1-5 Manage installed documentation in 
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib

grep recommends no packages.

Versions of packages grep suggests:
ii  libpcre3                      7.8-3      Perl 5 Compatible Regular Expressi

-- no debconf information

-- 
Samuel Thibault <[email protected]>
mdiym42: note to self
mdiym42: make sure your cat is not sleeping in the bass drum before you start 
playing them



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to