httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian A. Davis" <brida...@live.com>
Subject Re: [users@httpd] Regex fails to complie
Date Thu, 25 Aug 2016 22:36:38 GMT
Just to close this out, m#regex# worked perfectly, thanks for the tip.

On Thu, Aug 25, 2016 at 4:27 PM, Eric Covener <covener@gmail.com> wrote:

> On Thu, Aug 25, 2016 at 3:59 PM, Brian A. Davis <bridavis3@gmail.com>
> wrote:
> > <If "%{REQUEST_URI} =~ /\.foo.com(?:\:\d{2,5}|\/.*)?$/">
>
> The limitation is that you cannot use the separator inside the regex,
> even when you escape it.  It's a limitation in the expression engine
> used for If, not the regex library.
>
> You can use m#...# in your case.
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message