Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2016-10-22 22:40 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.