[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Redirecting to a index page depending on group membership on Apache 1.3
And Lo! The Great Prophet Dave Mitchell uttered these words of wisdom:
> On Tue, Aug 26, 2003 at 08:51:20PM +0100, Chris J wrote:
> > Err... ^[0-9].*$ ... would be what you are looking for.
>
> Which is equivalent to the simpler:
>
> ^[0-9]
>
This is true, but I like to write RE's to match complete lines, especially
in config - but that's just me :)
> Of course if this is perl REs then its even easier:
>
> ^\d
>
I think Apache uses Perl RE's for the rewrite engine ... so this would also
be a possibility. I don't know perl RE's though so always do it the
portable way ;)
Chris...
--
\ Chris Johnson \
\ cej [at] nightwolf.org.uk ~-----,
\ http://cej.nightwolf.org.uk/ ~-----------------------------------,
\ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.