s Treat string as single line. That is, change "." to match any character whatsoever, even a newline, which it normally would not match.