On Tue, Aug 25, 1998 at 02:45:13PM -0700, Gregory Sutter wrote:
# Phil Guenther's Message-Id: rule
:0
* ()^Message-Id:\/.*
* ! ^Message-Id:[ ]*<[ ]*("([^"\]|\\.)*"|[-!#-'*+/-9=?A-Z^-~]+)\
([ ]*\.[ ]*("([^"\]|\\.)*"|[-!#-'*+/-9=?A-Z^-~]+))*\
[ ]*(_at_)[ ]*\
(\[[ ]*([^][\]|\\.)*[ ]*\]|\
[-!#-'*+/-9=?A-Z^-~]+([ ]*\.[ ]*[-!#-'*+/-9=?A-Z^-~]+)*)\
[ ]*>
{ JFMATCH="$JFSEC: Bad Message-Id: $MATCH" INCLUDERC=$JFDIR/junkfilter.match }
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^-~]
I had a bad match with this recipe on this:
Message-ID: <35e460cbText Review*(_at_)m400gw(_dot_)wiley(_dot_)com>
Greg
--
Gregory S. Sutter Bureaucrats cut red tape -- lengthwise.
mailto:gsutter(_at_)pobox(_dot_)com
http://www.pobox.com/~gsutter/
PGP DSS public key 0x40AE3052