On Thu, 23 Aug 2001, Thomas Eibner wrote:

> On Wed, Aug 22, 2001 at 10:43:58PM -0400, Rich Bowen wrote:
> > Is there any treatment, anywhere in the Apache documentation, of what
> > flavor of regular expressions are supported by Apache directives? I
> > can't find it, but perhaps I'm just overlooking it, and will find it
> > as soon as I send this.
> >
> > It would be nice to have at least a pointer to a regular expression
> > tutorial, and perhaps a description of some kind in the docs
> > themselves about what type of regular expressions these are, what
> > things are permitted in them, and how to do things like
> > case-insensitive patterns, character classes, variable capture (the
> > $1, $2 stuff) and all those sorts of nifty things. If someone can
> > point me in the right direction, I'd be glad to get such a thing
> > started.
>
> You aren't thinking of the mod_rewrite [1] stuff are you?
>
> [1] http://httpd.apache.org/docs/mod/mod_rewrite.html

Well, perhaps. The mod_rewrite docs have a very brief synopsis of
regex syntax, and even go as far as to state that it uses POSIX regex,
which is much more specific than I have found elsewhere. But even the
synopsis there leaves out parts of the regex syntax.

With the number of modules that have some variety of FooMatch directive,
I think that it's important to have a document which all of these
module docs can point to which discusses the breed of regex supported
in Apache (apparently it's POSIX) and what syntax is available. Now
that I have somewhere to start, I'll go ahead and write such a beast,
and then we can figure out where it should to in the scheme of things.

Thanks for the pointer. I expected something in the mod_rewrite docs,
but did not stumble across anything right away.

-- 
Rich Bowen - [EMAIL PROTECTED]
... and another brother out of his mind, and another brother out at New
York (not the same, though it might appear so)
        Somebody's Luggage (Charles Dickens)


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

Reply via email to