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 John Coltrane plays...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2017-12-18 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (466 votes). Check out past polls.

    Notices?