On Sun, Aug 21, 2005 at 10:18:26AM +0200, Joost de Heer wrote:
> > 1. RewriteRule ^topics/([a-zA-Z-]+)
> 
> - inside a set has a special meaning so you have to escape it:
> RewriteRule ^topics/([a-zA-Z\-]+)

It is definitely correct this way, but I don't get why is it not 
correct at the original form. As I remember, in perl regular expressions
- only has a special meaning inside [] if it is not in the first or
the last position. So [A-Z-] should be equivalent of [A-Z\-],
while [A-Z] not equivalent of [A\-Z].

Baldvin

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to