Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Regular expression to match (C) function calls

Tags:

regex

Does anyone have a regular expression for matching function calls in C programs ?

like image 681
David Avatar asked Apr 25 '26 08:04

David


1 Answers

Since C isn't a regular language and C function calls can contain arbitrary argument expressions, I fear the answer to your question is “no.”

like image 126
Konrad Rudolph Avatar answered Apr 26 '26 23:04

Konrad Rudolph



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!