Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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.


Comment on Re: regexp for finding all function calls
Download Code
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://778286]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2014-08-30 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls