in reply to [regex] matching Perl quoted strings

The Regexp::Common::balanced module should be applicable here. I've never used it so I can't comment on it's quality.

Update: Or rather I can comment on its quality seeing that the author of that piece of sofware is Damian Conway.

  • Comment on Re: [regex] matching Perl quoted strings

Replies are listed 'Best First'.
Re: regex] matching Perl quoted strings
by Abigail-II (Bishop) on Mar 16, 2004 at 13:00 UTC
    The Regexp::Common::balanced module should be applicable here.
    Uhm, no. Perl allows delimiters to be escaped, while Regexp::Common::balanced doesn't consider escapes. (But as of now, it's on the TODO list).

    Abigail