The 404 for hyphens and spaces are just because I don't have them in my route regex.
change /(\w+)\.jpg to /([\w -]+)\.jpg to add hyphens and spaces.
Put the "-" last or you must quote it as \- in a character class in a regex.
See perlre for more.
Cheers, Sören
Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)
In reply to Re^5: perlmonksflair.com : get your perlmonks flair!
by Happy-the-monk
in thread perlmonksflair.com : get your perlmonks flair!
by gideondsouza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |