![]() |
Extract a specific function in C source code
Hello,
How can I extract a specific function in C source code and print the function on the command line environment(non-gui),I tried regex, but the match end at the first { . It is: /((\w+)\s*(\w+)\s*\(([\w\s,<>\[\].=&':\/*]*?)\)\s*(const)?\s*\{([^\}])+\})/. I don't know how to handle the brace, please help me. Thank you very much. Tony |
| All times are GMT. The time now is 04:10 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.