[SlugBug] Re: regular expression for ip address matching

patricka at mkdoc.com patricka at mkdoc.com
Fri Nov 7 23:32:27 GMT 2003


Mr. Adam ALLEN writes: 

> Anyone good with regular expressions, at the end of work today and a bit
> of Coffee I couldn't get the right regular expression sorted. 
> 
> I need to make a decision based on a certain ip.. as in
>  
>  match any ip address except 100.201.30.0

sounds like you need a simple equate rather than a regex. 

print unless $_ eq '100.201.30.0'; 

 - p 




More information about the SlugBug mailing list