You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2017/01/12 12:10:21 UTC

[Bug 7385] New: sa doesn't match word break when it should

https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7385

            Bug ID: 7385
           Summary: sa doesn't match word break when it should
           Product: Spamassassin
           Version: 3.4.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules
          Assignee: dev@spamassassin.apache.org
          Reporter: arekm@maven.pl
  Target Milestone: Undefined

Created attachment 5430
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5430&action=edit
part of test mail - that part is enough to trigger the problem

Mail message contains line:

" >.^_^.<"

which is matched fine by rule:
body THIS_EMAIL_LOOKS_LIKE_SPAM_2   />\.\^_\^\.</i

but doesn't match:
body THIS_EMAIL_LOOKS_LIKE_SPAM_2   /\b>\.\^_\^\.<\b/i

where IMO it should match both.


Testing via:
spamassassin -t -D < x.txt

spamassassin 3.4.1
perl 5.24.0

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 7385] sa doesn't match word break when it should

Posted by bu...@bugzilla.spamassassin.org.
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7385

Arkadiusz Miskiewicz <ar...@maven.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |arekm@maven.pl

--- Comment #1 from Arkadiusz Miskiewicz <ar...@maven.pl> ---
Or not as irc people mention that none of these characters is alphanumeric, so
there is no place where alphanumerics meet non-alphanumerics characters for \b
to fit.

-- 
You are receiving this mail because:
You are the assignee for the bug.