[plug] code decipher

Jon Miller jlmiller at mmtnetworks.com.au
Mon Feb 24 20:11:43 WST 2003


Can anyone explain the what this statement does?  I have a piece of code I'm trying to figure out what this piece handles.

# A regex that will match any IPs you come from.
my $myips =
'^(128\.61\.44\.(92|31)|r44h(92|31)\.res.gatech.edu|.*\.jehsom\.com|adsl-20-72-\d+\.asm\.bellsouth\.net)$';

I assume it is some form of input for ip addresses, and or  domain name.  But what I'ld like to know is what the parameters are.

Thanks

Jon L. Miller, MCNE, CNS
Director/Sr Systems Consultant
MMT Networks Pty Ltd
http://www.mmtnetworks.com.au

"I don't know the key to success, but the key to failure
 is trying to please everybody." -Bill Cosby






More information about the plug mailing list