The July 1 Perl e-newsletter says that one way to resolve complaints that Perl regular expressions are difficult to understand is to use Perl’s extended regular expression syntax, which allows embedded comments and extra whitespace for readability. What experience have you had embedding comments in regular expressions?
If you aren’t already subscribed to the Perl e-newsletter, visit our e-newsletter subcenter to sign up for this free TechMail today:
http://builder.com.com/techmails.jhtml?repID=u001