Because \s matches newlines
In reply to Re: Regex problem with .+ matching newlines without /s by ccn in thread Regex problem with .+ matching newlines without /s by Solo