I've been using this regex to get a list of expanded functions/subs (specifically the names of them from the 'func' capture group) from VB code that is used as input in a code converter for a project at work.