I have a URl I'm trying to rewrite. The URL looks like this:

http://www.domain.com/photo-gallery/country/keyword/46

I want to simply take everything after photo-gallery/ and pass it to a php script. However rewrite does not seem to like the hyphen.

Here's some things i've tried:

Code:
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteRule ^photo-gallery/(.*)$ photo-gallery.php?req=$1    [L]
    RewriteRule ^photo\-gallery/(.*)$ photo-gallery.php?req=$1    [L]
    RewriteRule ^photo.gallery/(.*)$ photo-gallery.php?req=$1    [L]
 </IfModule>
None of which work. However as soon as I change the url to photo_gallery (ie replace the hyphen with an underscore) and adjust the rules accordingly it works fine.

Any ideas?