Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: Conditional continued matching with regexesby BrowserUk (Patriarch) |
on Feb 06, 2007 at 03:24 UTC ( [id://598473]=note: print w/replies, xml ) | Need Help?? |
Wouldn't a Parser::RecDescent solution suffer exactly the same problems? Wouldn't you either have to load the entire file and parse it as a single lump; or parse it line by line until the parser failed, append the next line to the failed line and then re-attempt from the beginning? Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|