<p>Does anyone have a regular expression for matching function calls in C programs ?</p>

[{'answer_id': 39466, 'author': 'Konrad Rudolph', 'author_id': 1968, 'author_profile': 'https://Stackoverflow.com/users/1968', 'pm_score': 2, 'selected': False, 'text': '<p>Since C isn\'t a <a href="http://en.wikipedia.org/wiki/Regular_language" rel="nofollow noreferrer">regular language</a> and C function calls can contain arbitrary argument expressions, I fear the answer to your question is “no.”</p>\n'}, {'answer_id': 39711, 'author': 'Xavier Nodet', 'author_id': 4177, 'author_profile': 'https://Stackoverflow.com/users/4177', 'pm_score': 1, 'selected': False, 'text': '<p>I doubt you can find a regex that matches all (and only) the function calls in some source code.  But maybe you could use a tool like <a href="http://www.scitools.com/products/understand/" rel="nofollow noreferrer">Understand</a>, or your IDE, to browse your code.</p>\n'}, {'answer_id': 40101, 'author': 'David', 'author_id': 381, 'author_profile': 'https://Stackoverflow.com/users/381', 'pm_score': 3, 'selected': True, 'text': '<p>After a bit more searching I decided to let the compiler do the hard work.</p>\n\n<p>Get the compiler to produce a <a href="http://en.wikipedia.org/wiki/Register_Transfer_Language#RTL_in_GCC" rel="nofollow noreferrer">Register Transfer Language (RTL)</a> file using the -dr options of gcc.</p>\n\n<p>The produced RTL file has the suffix .rtl or .expand.</p>\n\n<p>This file is far easier to parse as the functions calls are already identified.</p>\n'}]
['https://Stackoverflow.com/questions/39457', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/381/']