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

regular expression tip (fwd)



Date: Wed, 18 Jul 2001 16:19:58 -0600 (MDT)
From: Jeff Weber <address@hidden>
To: address@hidden
Subject: regular expression tip  



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
________________________________________      ______________________