Blop has asked for the wisdom of the Perl Monks concerning the following question:
Simple regular expressions cannot match nested data because their primitives are: repetition, alternation, and sequence. There's no facility for recursion.So I tried to look for info about this "delayed interpolation", but could not find any. I'm frustrated because I'm feeling like I'm missing something. Would you have good resources or examples concerning this recursion ability, and how it helps with nested data? Is it as fun as it looks in Tom C's description?
Perl 5.6 added delayed interpolation of regular expressions, and this gives the ability to be recursive and thus to match nested data.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: delayed interpolation of regexps & recursion
by bikeNomad (Priest) on Jul 27, 2001 at 18:25 UTC |