Matching line breaks with regexps

Pantaleimon pantaleimon at home.no
Fri Oct 24 07:38:38 BST 2003


Hello

Does anyone know how to match a line break with a regexp in a KMail 
filter. I'm trying to match text like the name of the report below, 
"The Insider's Guide To Advertising for Free On The Net", which may be 
broken across several lines.

> name and postal address.
> PLACE YOUR ORDER FOR THESE REPORTS NOW :
> ==================================================
> REPORT # 1: "The Insider's Guide To Advertising
> for Free On The Net"
>
> Order Report #1 from:
>

A. Jones 

I made a few attempts, ther last one being:

"The[^$\r\n\s>]+Insider's[^$\r\n\s>]+Guide[^$\r\n\s>]+To[^$\r\n\s>]+Advertising[^$\r\n\s>]+for[^$\r\n\s>]+Free[^$\r\n\s>]+On 
[^$\r\n\s>]+The[^$\r\n\s>]+Net"

Unfortunately, none of them worked. Hope you can help me.

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list