in reply to Re: Simple regex
in thread Simple regex

More precisely, the /s modifier tells . to match even newline characters. Without it, your $1 and $2 will only get what is before and after $breakline on the same line.