Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Basic but stupid problem i cannot wrap my head around

by jeffenstein (Hermit)
on Aug 06, 2020 at 16:50 UTC ( [id://11120433]=note: print w/replies, xml ) Need Help??


in reply to Basic but stupid problem i cannot wrap my head around

Are you expecting "b" for the second example? /^(.*?)\// matches both strings, but $1 in the second example is the zero-length string before the slash. Maybe you meant /^(.+?)\//?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2024-05-21 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found