Package: grepmail
Version: 5.3032-2
Severity: normal

unstable/testing version 5.3033-1 (mis)behaves in the same manner.

While trying to locate spam using a -E complex search expression, I
found out that if the search expression contains an escaped /-char,
grepmail does not produce the expected results. Replacing '\/' with
'\S' or '.' works nicely. Thus:

  # grepmail -E '$email_header =~ 
/^User-Agent:\s+Thunderbird\s+1\.5\.0\.12\s+\(Windows\/20070509\)/' mbox

will produce nothing, while:

  # grepmail -E '$email_header =~ 
/^User-Agent:\s+Thunderbird\s+1\.5\.0\.12\s+\(Windows.20070509\)/' mbox

does just what I want it to do.


Cheers,
Cristian

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (99, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US, LC_CTYPE= (charmap=ISO-8859-1)

Versions of packages grepmail depends on:
ii  libmail-mbox-messageparser-pe 1.4005-2   fast and simple mbox folder reader
ii  libtimedate-perl              1.1600-5   Time and date functions for Perl
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction
ii  perl-base [libscalar-list-uti 5.8.8-7    The Pathologically Eclectic Rubbis

grepmail recommends no packages.

-- no debconf information


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

Reply via email to