Paul Bartlett asked,
| However, a regexp to catch all actual legal permutations of
| my email address in conditions is
|
| pobart@(mail[1-5]?\.)?access[1-5]?\.digex\.net
|
| In order to cut down on typographical errors as well as a
| lot of typing, would it be legal to put the regexp into
| $MY_ADDR ?
Yes, I do it quite a lot. On anago.wwa.com, my .procmailrc includes this:
nowarning=\
"sal+[ie]nge?rs?|p([o0]f?|[^a-z]+[o0]f?[^a-z]+)(5|f(ive)?)|p(ar)?ty[^a-z]+of?[^a-z]+(five|5)"
Pretty nasty, huh? There's also this one:
commands="($commands1|$commands2|$commands3|$commands4|$commands5)"
which may not look so bad, but you haven't seen what the five component
variables look like; they're full of their own regexp syntax entanglements.
Just remember NOT to use the $\VARIABLE syntax when you refer to them in
conditions of later recipes.