I am writing a complex PCRE for my Postfix mail server and I would like to use something along the lines of:
/(37.3,200)/; # matches any number x, 37.3 < x < 200
/((37.3,200))/; # matches any number x, 37.3 < x < 200 and saves it
/([37,))/; # matches and saves any number >= 37.
/(37.3\,200)/; # matches and saves the literal text '37.3,200'
/[-35,9)]/; # matches any number x, -35 <= x < 9; followed by a ]
/[3-5,9)]/; # matches a string containing any of 3,4,5,,,9 or )
/[$low,$high]/; # matches a number $low <= $_ <= $high, provided
# low and high are both numerics.
/[$low,${\highf(@data)}/; # complex interpolation tricks
But I cannot seem to get the simple test case working:
/66\.230\.((192,239))\.\d+/
Obviously I am missing something basic here...
Help??? -Sx-
http://InSecurity.org/ _Sx____________________ ('> iudicium ferat //\ Have Computer - v_/_ Will Hack...
\|/ ____ \|/ "@'/ .. \`@" /_| \__/ |_\ \__U_/
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]