![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Balanced delimiter parsingby moxliukas (Curate) |
on Oct 04, 2002 at 14:46 UTC ( #202749=perlquestion: print w/replies, xml ) | Need Help?? |
moxliukas has asked for the wisdom of the Perl Monks concerning the following question: Hello, I know this question has been raised before, and I did try to Super Search for it, but none of the answers really right on the spot for me. The problem is as follows: I need to get the stuff between the balanced <value> pairs. Obviously, the (.*?) approach does not work as it selects <code><value>...<value>...</value>. I am suspecting that one might need to use extended regular expression for this (backtracking?), but could you lead me on the rigth track how? (Or is it a much more difficult problem that cannot be solved by only using regexps?) Thank you in advance
Back to
Seekers of Perl Wisdom
|
|