Fix region exclusion with multiple lines.

Added the 's' modifier so that the regex that detects not-to-be-linked
regions that span several lines (e.g., multiline <pre></pre> section).