You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Norman Khine <no...@khine.net> on 2007/03/21 16:58:45 UTC
[users@httpd] RewriteCond: cannot compile regular expression
Hello,
Can anyone help me with this error:
RewriteCond: cannot compile regular expression
'^([a-zA-Z_1-0]+\\.rewrite\\.dev)$'
I would like to have the RegEx to be in the following format
a-zA-Z then any 3 numbers
so
www123, abc999 etc...
Many thanks
Norman
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] RewriteCond: cannot compile regular expression
Posted by Norman Khine <no...@khine.net>.
Thank you, thats great
Huesser Peter wrote:
> I guess something like
>
> [a-zA-Z][0-9][0-9][0-9]\.rewrite\.dev
>
> or
>
> [a-zA-Z][0-9]{3}\.rewrite\.dev
>
> or
>
> \D\d\d\d\.rewrite\.dev
>
> or
>
> \D\d{3}\.rewrite\.dev
>
> should work.
>
> Pedro
>
>> -----Original Message-----
>> From: Norman Khine [mailto:norman@khine.net]
>> Sent: Mittwoch, 21. März 2007 16:59
>> To: users@httpd.apache.org
>> Subject: [users@httpd] RewriteCond: cannot compile regular expression
>>
>>
>> Hello,
>>
>> Can anyone help me with this error:
>>
>> RewriteCond: cannot compile regular expression
>> '^([a-zA-Z_1-0]+\\.rewrite\\.dev)$'
>>
>>
>> I would like to have the RegEx to be in the following format
>>
>> a-zA-Z then any 3 numbers
>>
>> so
>>
>> www123, abc999 etc...
>>
>> Many thanks
>>
>> Norman
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--
Norman Khine
7 rue Ponscarme, Paris, 75013, France
tel +33 870 628 934 fax +33 142 724 4437
email: norman@khine.net
http://www.abakuc.com http://www.uktravellist.info
http://www.destinationsguide.info
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] RewriteCond: cannot compile regular expression
Posted by Huesser Peter <pe...@psi.ch>.
I guess something like
[a-zA-Z][0-9][0-9][0-9]\.rewrite\.dev
or
[a-zA-Z][0-9]{3}\.rewrite\.dev
or
\D\d\d\d\.rewrite\.dev
or
\D\d{3}\.rewrite\.dev
should work.
Pedro
> -----Original Message-----
> From: Norman Khine [mailto:norman@khine.net]
> Sent: Mittwoch, 21. März 2007 16:59
> To: users@httpd.apache.org
> Subject: [users@httpd] RewriteCond: cannot compile regular expression
>
>
> Hello,
>
> Can anyone help me with this error:
>
> RewriteCond: cannot compile regular expression
> '^([a-zA-Z_1-0]+\\.rewrite\\.dev)$'
>
>
> I would like to have the RegEx to be in the following format
>
> a-zA-Z then any 3 numbers
>
> so
>
> www123, abc999 etc...
>
> Many thanks
>
> Norman
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org