procmail
[Top] [All Lists]

word/line/address-separators (was: matching multiple lines)

2002-04-12 06:30:29
Ruud skribis:

about `\<' and `\>': 

They are also very welcome as email-address-delimiters, like in

* From:.*\.kr\>

Well, actually they're not, because there is no '.' on board.

Something like (\>|[.]) is a more accurate as what-comes- 
after-an-email-address, but still not perfect. 

Of course [.] could be written as \. but when you store it in a 
variable, it will become a '.' which matches any character. 

I have read of a way to force escapes of special characters in a 
variable holding a regexp, but can't remember where I read it. 
Maybe it was a '??' syntax variant.

Ruud


_______________________________________________
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>