httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Eibner <tho...@stderr.net>
Subject Re: Regular Expressions
Date Thu, 23 Aug 2001 03:18:50 GMT
On Wed, Aug 22, 2001 at 11:15:12PM -0400, Rich Bowen wrote:
> 
> No, the / character does not have special meaning in these regular
> expressions. More specifically, there is no delimiter, as there is in
> Perl. You just have a string, and that is the regex. Perl has a
> character that indicates the start and end of the pattern. While this
> is traditionally / it can be anything. But, since there is no such
> character used, you can't put switches like Perl's /i or /s or
> whatever on the end after the closing delimiter.
> 
> egrep is the same way (same as apache that is) in that you just
> provide a string
> 
> egrep "patt?[eu]rn" file.name
> 
> The quotes are optional if the pattern does not contain any special
> characters.

But where excactly are you using/needing this? 

-- 
  Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/>
  mod_pointer <http://stderr.net/mod_pointer> 


---------------------------------------------------------------------
To unsubscribe, e-mail: apache-docs-unsubscribe@apache.org
For additional commands, e-mail: apache-docs-help@apache.org


Mime
View raw message