Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: help in understanding a regex

by roboticus (Chancellor)
on Nov 16, 2012 at 22:36 UTC ( #1004255=note: print w/ replies, xml ) Need Help??

in reply to help in understanding a regex

Yeah, you'd have to change it to m/([^\/]+)$/ to work. The original used vertical bars so they didn't have to escape the slash in the brackets.


When your only tool is a hammer, all problems look like your thumb.

Comment on Re: help in understanding a regex
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2015-11-25 10:18 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 (672 votes), past polls