[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reg exp tip



Hi Teresa, 

Strike that I meant...

allow   124\.12\.123\.*


it is a backslash not a forward slash, sorry for the mix-up...


Thanks,

-Jeff
____________________________                  _____________________
Jeff Weber                                    address@hidden
Unidata Support                               PH:303-497-8676 
NWS-COMET Case Study Library                  FX:303-497-8690
University Corp for Atmospheric Research      3300 Mitchell Ln
http://www.unidata.ucar.edu/staff/jweber      Boulder,Co 80307-3000
________________________________________      ______________________

On Wed, 18 Jul 2001, Jeff Weber wrote:

> HI Teresa, 
> 
> Just a reminder or helpful hint..
> 
> If the IP is 124.12.123.12
> 
> I would place the allow as
> 
> allow 124/.12/.123/.*
> 
> because the . can be used as a special character we want to make sure the
> pattern matches on the dot as well so the backslash eliminates the special
> character attribute of the dot...
> 
> Cheers,
> 
> -Jeff
> ____________________________                  _____________________
> Jeff Weber                                    address@hidden
> Unidata Support                               PH:303-497-8676 
> NWS-COMET Case Study Library                  FX:303-497-8690
> University Corp for Atmospheric Research      3300 Mitchell Ln
> http://www.unidata.ucar.edu/staff/jweber      Boulder,Co 80307-3000
> ________________________________________      ______________________
> 
> 
>