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.
In reply to delayed interpolation of regexps & recursion by Blop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |