On 4 Jul, Odhiambo Washington wrote:
| In a recipe, how do I match _all_ possible instances of FreeBSD.ORG
|
| Could be FREEBSD.ORG, Freebsd.ORG, freebsd.org ....I see so many possible
| combinations ;-)
|
Nothing special is required. Procmail conditions are case insensitive
by default so, unless you add a "D" flag to make it case sensitive,
"freebsd\.org", "FREEBSD\.ORG", or "FrEeBsD\.oRg" will all match any of
the combinations. If you really wanted to tighten it up a bit you
might make it "\<freebsd\.org\>" to ensure it matches on word
boundaries only and not on an embedded string. Though that seems
unlikely in this case.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail