Inner Loops and Regular Expressions
By Robert Bernecky and Michael E. Fitzpatrick
Dr. Dobb's Journal December 1997
Example 1: (a) A Perl regex that matches a parenthesized expression and allows parenthesis nesting up to one level, will perform the match in the text pattern in (b).
Back to Article
Copyright © 1997, Dr. Dobb's Journal