Dumb question, but how does this regex handle newlines?