in reply to Regex Debugger?

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).

--
David Serrano