in reply to pattern matching c-style function definitions :o(
Depending on what you are trying to do, you may wish to take a look at a tool called Doxygen.
HTH,