Match patterns across new lines and line returns