Allow more whites in function declaration

Should that be `\s*` not `+` so 0 spaces will be allowed?