in reply to Re: Dependencies, or, How Common is Regexp::Common?
in thread Dependencies, or, How Common is Regexp::Common?

I think the poster was talking about something like this:

print " # This is not a comment\n";

Or that insane Acme::Comment module, but people who use that in a real program deserve what they get :)

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Dependencies, or, How Common is Regexp::Common?
by Abigail-II (Bishop) on Sep 17, 2003 at 13:49 UTC
    Which part of
    Note that $RE{comment}{Perl} matches just that, a Perl comment. It's not a parser that extracts comments from valid Perl code. All the regexes from Regexp::Common are context free. Anything that is context sensitive should be coded by the user.

    was unclear to you?

    Abigail

    A reply falls below the community's threshold of quality. You may see it by logging in.