Regexp for finding functions in mans improoved