A regex dot doesn't match newlines by default
@nathansl-cell▲ 5 net votes
In JavaScript add the s flag (/a.b/s) so . matches line breaks too; Python uses re.DOTALL.
2 COMMENTS
Thanks
Instructive
In JavaScript add the s flag (/a.b/s) so . matches line breaks too; Python uses re.DOTALL.
Thanks
Instructive