procmail
[Top] [All Lists]

Re: puzzled about a regexp

2003-01-12 16:13:35
On Mon, 13 Jan 2003 the voices made Nikos K. Kantarakias write:

NKK> eerr... I hope I'm not making any of you mad..
NKK>
NKK> I think I found it (I said I THINK)
NKK>
NKK> maybe that:
NKK> * name[  ]*=.*\.(bat|pif|vb[as]|scr|lnk|com|exe|{[-0-9a-f]+})("|[  ]*|$)
NKK>
NKK> should be:
NKK> * name[  ]*=.*\.((bat|pif|vb[as]|scr|lnk|com|exe|{[-0-9a-f]+})("|[  ]*|$))
NKK> ----------------^--------------------------------------------------------^

 Nah, (a)(b) and ((a)(b)) should in this situation give the same result; did
you test it and found anything interesting?

-- 
      /\___/\                                              /\___/\
      \_@ @_/                                              \_@ @_/
 +--oOO-(_)-OOo------------------------------------------oOO-(_)-OOo--+
 | Per scientiam ad libertatem! // Through knowledge towards freedom! |
 +---τττ---τττ--------------------------------------------τττ---τττ---+
     \O/   \O/      (c)1998-2003  tony(_at_)svanstrom(_dot_)com      \O/   \O/


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