procmail
[Top] [All Lists]

Re: Searching for text in the body of an email which may/may not have newlines

2000-11-02 18:10:02
newland(_dot_)andrews(_at_)bt(_dot_)com wrote:
...
Example email body

This is a test, Here is the text.

or

Here is the
text.

etc.

eg. The following line in a recipe

*B ?? ()\<Here(\<)+is(\<)+the(\<)+text\>

Would work (I think?) but are there better methods?

I think you'll have to change those "(\<)+" into "($|\<)+"
since \< won't match newlines.

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