Package: grep
Version: 2.6.3-3
Severity: normal

Ah. Sorry, it is not a bug.

Considering string   "\t#define"

regular expression ^\s*[^#]

obviously match it, with zero repetitions of \s, and \t being different than #!

On of the way to fix RE is write ^\s+[^#] , or ^\s*[^#\s], or similarly.

Thanks.

Can be closed.



-- System Information:
Debian Release: 6.0.2
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-rc3-sredniczarny-10767-g3561d43
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

grep recommends no packages.

Versions of packages grep suggests:
ii  libpcre3                      8.02-1.1   Perl 5 Compatible Regular Expressi

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to