Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 browsing the Monastery: (8)
As of 2015-07-03 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls