Robert Moskowitz schreef:
MYPUB = 65\.0?84\.0?78\.(0?19[2-9]|0?2[0-4][0-9]|0?25[0-5])
I would make that:
MYPUB = '(0?65\.0?84\.0?78\.(19[2-9]|2[0-4][0-9]|25[0-5]))'
The surrounding brackets are there to make it safe to use $MYPUB inside
regular expressions: ($MYPUB|$MYNAT128)
AFAIK, the 0? is to fill up to three digits.
Be careful with those leading zeroes in other contextsthat E-mail
headers; some utilities (like ping) will consider such a numeral as
octal.
--
Groet, Ruud
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail