procmail
[Top] [All Lists]

Re: Whitespace regex

2000-11-13 11:08:50
On 13 Nov, Mike A. Harris wrote:
| WHat is the syntax for a whitespace indicator in procmail?
| 
| ie:
| 
| * To:\ssomeone(_at_)somewhere
| 
| [...]

There is no special egrep or perl like expression, so you either use:

 * To: *someone(_at_)somewhere  # zero or more space chars 

or more thoroughly:

 * To:[  ]*someone(_at_)somewhere  # zero or more space and/or tab chars

where the bracketed character class is a space and a tab.



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