Embed comments in regular expressions - TechRepublic
General discussion
June 30, 2003 at 12:31 AM
maryweilage

Embed comments in regular expressions

by maryweilage . Updated 23 years ago

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

This discussion is locked

All Comments