Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: regexp for finding all function calls

by ikegami (Pope)
on Jul 08, 2009 at 14:16 UTC ( #778286=note: print w/replies, xml ) Need Help??

in reply to regexp for finding all function calls

Can you add double quotes to the list of characters for -parens to heed? If not, there's Text::Balanced which does.

Replies are listed 'Best First'.
Re^2: regexp for finding all function calls
by marksman (Novice) on Jul 08, 2009 at 18:24 UTC
    I think I can add double quotes, but I don't think it will work for calls such as
    Mod::func("str1 \"); ");
    There are probably other corner cases as well.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://778286]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-03-30 18:14 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (362 votes). Check out past polls.