procmail
[Top] [All Lists]

matching "p5-" w/ \<(perl5|p5-)\>

2002-05-30 10:54:33
why does the below regex not work?

receipe...

:0:
* subj  ??  ()\<(perl5?|p5-)\>
In/i.perl


...log...

procmail: Assigning "subj= cvs commit: ports/devel Makefile 
ports/devel/p5-Date-ICal ..."
...
procmail: Score:       0       0 "()\<(perl5?|p5-)\>"


...if i remove hyphen at the end of "p5", mail is delivered as
expected.  but then anything else w/ "p5" at end word boundary will
also be delivered to "i.perl", e.g. "freebsd releng_4_5-p5".

if i remove the end word boundary (\>), then that would catch a
subject containing "perl5[a-z0-9_]".  i could create OR'd subject
tests, but seem unnecessary.


  - parv

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