Add comments to explain the regex used to match a type-hinted function.