John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
Difficult to use nested patternsHe said “almost impossible”.
For many of the reasons we've mentioned, it's difficult to make regexes refer to each other, and even if you do, it's almost impossible to get the nested information back out of them. And there are entire classes of parsing problems that are not solvable without recursive definitions.
So, how would you do it?
—John
Title edit by tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: =Almost= Impossible?
by Abigail-II (Bishop) on Dec 13, 2002 at 16:29 UTC | |
by John M. Dlugosz (Monsignor) on Dec 13, 2002 at 16:34 UTC |