in reply to need regex to parse c++ functions

You may do better with a grammar. There are BNF grammars floating around - in the draft standard for one source - and Parse::RecDescent ought to be able to handle the subset for declarations.

After Compline,
Zaxo

Replies are listed 'Best First'.
Re: Re: need regex to parse c++ functions
by Chief of Chaos (Friar) on Nov 28, 2002 at 07:44 UTC
    Thanks,
    i will try Parse::RecDescent which seems a little bit simpler as a regex.

    And if I don't get it I will set a flag for help.