Session
Dissecting Regular Expressions
Jeff Pinyan, Rensselaer Polytechnic Institute
Track: Perl Conference 5
Date: Friday, July 27
Time: 2:30pm
- 3:15pm
Location: Grande Ballroom A
Perl's regular expressions, arguably its most powerful and confusing
feature, are not terribly easy to decipher, specifically for beginners to
the language, and those that aren't familiar with shell tools like sed,
awk, and grep. Using the YAPE::Regex module, though, we can parse a regex
and break it up into tokens -- and the YAPE::Regex::Explain module can
turn these tokens into meaningful text. Y::R::E serves as a teaching
tool, showing how a regex functions, with useful reminders of the
intricacies of Perl's regexes.