procmail
[Top] [All Lists]

Re: Message-Id: regexp

1998-08-26 19:43:33
Gregory Sutter <gsutter(_at_)pobox(_dot_)com> writes:
...
Philip, I have a question about this big beauty.  In the regexp, you have
three servings of bracket salad: [-!#-'*+/-9=?A-Z^-~]  Should the
asterisks within these be escaped with backslashes: [-!#-'\*+/-9=?A-Z^-~]

Nope.  The only characters special inside of brackets are ^-] and probably
newline, though I haven't checked it.  [*] matches a literal asterisk.


I had a bad match with this recipe on this:
Message-ID: <35e460cbText Review*(_at_)m400gw(_dot_)wiley(_dot_)com>

The asterisk is fine.  That message-id was rejected because of the space.

Philip Guenther