procmail
[Top] [All Lists]

Re: Regex - Education by fire

2000-12-24 16:48:06
On 24 Dec, Gun Wear wrote:
| [...]
| 
| :0
| *^From:(_dot_)*k12news(_at_)k12(_dot_)com*
| *^Subject:.*K12 News*
|
| [...]

The trailing asterisks are probably a) not doing what you expect, and
b) unnecessary. As used above they match zero or more "m" or "s"
characters, respectively. You probably meant ".*", which would match
zero or more of any character. If so, it's not needed. If _zero_ or more
is ok, then it's useless to include it in this case, right?



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>