/m Let ^ and $ match next to embedded \n. /s Let . match newlines and ignore deprecated $*.