"test\n123" =~ /test.123/ and print "matched"; # vs. "test\n123" =~ /test.123/s and print "matched (2)";