httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huesser Peter" <peter.hues...@psi.ch>
Subject RE: [users@httpd] RewriteCond: cannot compile regular expression
Date Thu, 22 Mar 2007 07:01:32 GMT
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


Mime
View raw message