Michael Welch wrote:
> The filter rule reads: ^subject:.*spam*
> But it's catching the word "span"
Of course.
The filter matches a line
- beginning with "subject:"
- followed by zero or more characters of any kind
("." means "any character", "*" means "zero or more occurences")
- followed by the letters "spa"
- followed by zero or more times "m"
> Subject: RE: [RE-wrenches] Xantrex XW4548 lifespan
1. The line starts with "subject:".
2. After that, there are zero or more characters of any kind, namely
" RE: [RE-wrenches] Xantrex XW4548 life"
3. After that, there is "spa".
4. After that, there is no "m" (zero or more occurencens).
That's a match.
-thh
------------------------------------------------------
Mailman-Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/[email protected]/
https://mail.python.org/archives/list/[email protected]/
Member address: [email protected]