in reply to Regex, the jungle survival skill
Great responses by the other Monks, so I'll just add a couple of things. A couple of debugging tools that can help you understand regexes better are the built-in regex debugger, use re 'debug';, and YAPE::Regex::Explain, both will allow you to display what your regexes are doing, or paste in regexes you find elsewhere and explain to you how they work.
|
---|