laziness, impatience, and hubris | |
PerlMonks |
Re: Regex Debugger?by Hue-Bond (Priest) |
on Oct 12, 2006 at 20:53 UTC ( [id://577964]=note: print w/replies, xml ) | Need Help?? |
I usually resort to /x and/or commenting it and starting from scratch, beginning with something simple and adding more things until it breaks. And, of course, feed it all sorts of valid and invalid input to see how it behaves. Other options that come to mind are (?{ }) and use re 'debug' (if you understand its output). --
In Section
Seekers of Perl Wisdom
|
|