> I'm tring to extract some values delimited by quotes

If you've got anything beyond the most trivial
cases for parsing data with nested elements,
you are probably best off using an appropriate
parsing module (eg Parse::RecDescent).

If you've got nesting going on but you are ready
for some pretty advanced perl regex tricks, you
can try patterns that contain a recursive call to
themselves.

To quote from Camel 3rd edition, p213-214 (where
I got an awful lot of my latest knowledge of cool perl
idioms):

    Any text on regular expressions will tell you
    that a standard regex can't match nested
    parentheses correctly. And that's correct.
    It's also correct that Perl's regexes aren't
    standard.

Reply via email to