On Thu, 23 Aug 2001, Thomas Eibner wrote:

> 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?

At this exact moment, I am looking at AliasMatch and ScriptAliasMatch.
However, a pretty large number of modules have a SomethingMatch
directive which accepts a regex as an argument.

BrowserMatch
FilesMatch
LocationMatch
DirectoryMatch

and so on.

-- 
Rich Bowen - [EMAIL PROTECTED]
Author - Apache Server Unleashed - http://www.apacheunleashed.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to