in reply to Re: regex and dot to star
in thread regex and dot to star

While .* can match anything, it won't match \n by default. You need the /s modifier to do that.