I'm usi开发者_StackOverflow社区ng [A-Za-z0-9_-]
to match letters, numbers and _ and - in my regular expression.
I'd like to add the '
character to it but most of my attempts result in server error 500.
Here's the full line from my htaccess:
RewriteRule ^[A-Za-z0-9_-]+/?$ /index.php
Have you tried escaping it with \?
精彩评论