`(\s*[\n\r]?)*` would probably make more sense, if we're replacing it with `return ` with that space explicitly in the replacement.