title: RegExp not matching newlines in VBA
body: <p>I'm writing a Word macro with a VBscript <code>RegExp</code> that needs to match newlines as part of the pattern. But I can't get any matches on even a pattern with a single <code>"\n"</code>, or <code>"[\n]"</code>, or <code>VBNewLine</code>. Here's the code I'm testing with:</p>
  
  <pre><code>Sub Macro1()
      Dim myRegExp As New RegExp
      With myRegExp
          .Global = True
          .MultiLine = True
          .IgnoreCase = False
          .Pattern = "\n"
      End With
  
      If myRegExp.Test(ActiveDocument.Content) Then
          MsgBox ("k")
      End If
  End Sub
  </code></pre>
  
  <p>In a document where I hold the enter key for a few seconds and run it, this should open a message box, but nothing happens. But if I type anything else and use a pattern that matches it, the code works as expected.</p>