in reply to Regex dynamics

Look at CPAN's docs for Text::Balanced, especially the quotelike parsing feature. This can read any of Perl's qq{} s/// m// tr/// formats.

--
[ e d @ h a l l e y . c c ]