Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: How do I use a regex to identify a / character at the beginning of a string?

by merlyn (Sage)
on Apr 26, 2001 at 18:18 UTC ( #75802=categorized answer: print w/replies, xml ) Need Help??

Q&A > regular expressions > How do I use a regex to identify a / character at the beginning of a string? - Answer contributed by merlyn

m{^/}

  • Comment on Answer: How do I use a regex to identify a / character at the beginning of a string?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-01-19 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (172 votes). Check out past polls.