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 [EMAIL PROTECTED] Charlottesville, VA --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]