Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[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 <jweber@xxxxxxxxxxxxxxxx>
To: jweber@xxxxxxxx
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                                    jweber@xxxxxxxx
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
________________________________________      ______________________







 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690