Regexes are the weasels of the programming world: compact, immensely powerful, doggedly single-minded in their task, and with a nasty tendency to maul you, when and where you least expect it. And Perl regexes are the biggest, most powerful, and potentially meanest code weasels of all: wolverines in your source.
This talk demonstrates and explains a new Perl module (Regexp::Debugger) that helps tame unruly regexes by providing live interactive run-time visualizations of any regex in your code, as it matches. The debugger allows you to track capture variables, follow recursive subpattern matches, set break-points within a regex match, and even step backwards through the matching process to work out exactly where things started going so horribly wrong.
Damian Conway is an internationally renowned speaker, author, and trainer, and a prominent contributor to the Perl community. Currently he runs Thoughtstream, an international IT training company that provides programmer training from beginner to masterclass level throughout Europe, North America, and Australasia. Most of his spare time over the past decade has been spent working with Larry Wall on the design and explication of the Perl 6 programming language. He has a PhD in Computer Science and was until recently an Adjunct Associate Professor in the Faculty of Information Technology at Monash University, Australia.
Comments on this page are now closed.
For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or email@example.com.
View a complete list of OSCON contacts