Reproduction link or steps
REPL
What is expected?
/./.test("\n".repeat(10)) returns false so I expect the output to be empty.
What is actually happening?
The filter is matched and the output is not empty.
System Info
Any additional comments?
On the other hand, /./s.test("\n".repeat(10)) returns true so I expect to have the current behavior.