procmail
[Top] [All Lists]

Re: How to account for space in a regular expression

2004-06-17 12:16:27
Toen wij Jose Santana kietelden, kwam er dit uit:

My regular expression is this

:0:
* ^Subject:.*(VARBusiness | WhatsUp | WS_FTP Today | unixODBC-DEV |
OSSG-NYC-METRO)
Trash

It works fine except for WS_FTP Today... how can I prove the expression
to account for the space in the sobject words


Try this:

  :0
  * ^Subject:.*\<(\
    VARBusiness|\
    WhatsUp|\
    WS_FTP Today|\
    unixODBC-DEV|\
    OSSG-NYC-METRO)\>
  Trash


-- 
Grtz, 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>