General
. does not match new line
For JS a flag /s can be used, but easier workaround is to use:
[\S\s]
which matches both whitespace and any non-whitespace character - which in results means - ANY 😎
No matches...