Better function finding regexp

Current regexp finds first function name entrance, this improvement matches brackets and '->' sign to find exactly function section in man, and also respects arity to check number of words (probably with commas) inside brackets.