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

Re: Regex, the jungle survival skill

by davies (Prior)
on Mar 10, 2016 at 14:44 UTC ( [id://1157299]=note: print w/replies, xml ) Need Help??


in reply to Regex, the jungle survival skill

You can do a lot of programming without using a regex. I know. I did it. But if you use sites like this, you will see posts that mention regexes and then, when you are trying to write something, you will realise that a regex is the best tool. That's the best tutorial you can find - a need to solve a problem of your own. Unless you have to pass an exam, don't try learning something you don't use, as you will quickly forget what you learned. Once you get to wanting to learn something, try writing the regex yourself. If you get stuck, post here with what you are trying to do and what you have written. When I've done this, I've found the Monasteriat extremely helpful.

As others have said, some regexes are very simple. But as I think you realised before the other posts, regexes are a very powerful tool (I don't know them at all well, but I know that much). And in addition to the tools others have mentioned, I have recently taken to using Damian Conway's Regexp::Debugger, which I have found most helpful.

Regards,

John Davies

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-03-28 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found