On Thu, 19 Feb 2009, LuKreme wrote:
On 19-Feb-2009, at 19:28, Fleet Teachout wrote:
I think I just need an example that I *know* is correct.
I have this in my procmail.notes:
[snip]
OCTET = "[01]?[0-9]?[0-9]|2([0-4][0-9]|5[0-5)"
Assigning that expression to a variable is a good idea. I have several
such things in my procmail recipes - wonder why I didn't think of it for
thie case.
IP = $OCTET\.$OCTET\.$OCTET\.$OCTET
or
IP = $OCTET[.]$OCTET[.]$OCTET[.]$OCTET
Hmmmm. Yeah, but that's gonna get everything, isn't it! In my example
(22.33.4.0-22.33.4.255) I'd want to use 22\.33\.4.\$OCTET I think.
Thanks for the input!
- fleet -
____________________________________________________________
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