Forum Moderators: phranque
Take a look at the regular-expressions tutorial cited in our charter [webmasterworld.com] for help with regular expressions.
Your current pattern has a syntax error, a missing "(".
I believe you want:
^([a-z#])$ for a single letter or "#", or
^([a-z#])?$ for a single letter, "#", or blank.
Jim
I want to create a listing for all the months in a year like so,
RewriteRule ^jan$ /events.php?m=jan [L]
RewriteRule ^feb$ /events.php?m=feb [L]
RewriteRule ^mar$ /events.php?m=mar [L] So far the only way I can see of making this shorter is something like this,
RewriteRule ^(jan圩eb妃ar地pr妃ay夸un夸ul地ug存ep她ct好ov圬ec)$ /events.php?m=$1 [L] Would this be the best way?