procmail
[Top] [All Lists]

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

2000-11-02 11:11:36
Could someone please advise, on the best method of searching for text in an
email body, where it doesn't matter if the text is split across two(or more)
lines (ie. has newline characters).

eg.

Searching for the following words.

Here is the text.

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?

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