Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^5: : get your perlmonks flair!

by Happy-the-monk (Abbot)
on Aug 12, 2013 at 05:44 UTC ( #1049055=note: print w/ replies, xml ) Need Help??

in reply to Re^4: : get your perlmonks flair!
in thread : get your perlmonks flair!

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)

Comment on Re^5: : get your perlmonks flair!
Select or Download Code
Replies are listed 'Best First'.
Re^6: : get your perlmonks flair!
by Anonymous Monk on Aug 12, 2013 at 07:17 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1049055]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2015-11-30 10:17 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls