in reply to regex 2 match C function

I don't think a single regular expression would be the way to go, as that would imply having to read entire source-files into memory.

Given the "cleanness" of the C-code, I would do this with a while loop, iterating one line at a time, and build some logic on top of that.

But maybe you would like to have a look at Doxygen instead...

Liz