httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: Regular Expressions
Date Thu, 23 Aug 2001 03:21:26 GMT
On Wed, 22 Aug 2001, Rich Bowen wrote:

> Regular expressions have the same syntax as those found in the Unix
> egrep command.
>
> This is, as far as I can find so far, the only specific explanation of
> what regex syntax Apache supports.
>
> FAQ-B states that "We implement a simple subset of Perl's regex
> support" which is pretty darned vague.

Well, Apache 1.3 comes with hsregex, but you're allowed to use your OS's
regex library if you want.  Assuming we're talking about hsregex, you can
find man pages for it in apache-1.3/src/regex (the files regex.3 and
regex.7).  Apache 2.0 switched to PCRE (Perl Compatible Regular
Expressions) and IIRC it does not support using the OS regex library at
this time.  The name on this one kind of says it all, but you can find
more details at www.pcre.org.  Since they're Perl compatible, the best
reference IMO is the perlre manpage.

Hope this helps.

--Cliff

--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA





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


Mime
View raw message