title: Why does IgnorePatternWhitespace break regex?
body: <p>Dummy 1 and 2 doesn't throw an exception but dummy 3 does. Also it appears dummy2 doesnt run my regex right (judging from the longer real version). Why are any of these different? The first has no whitespace in the pattern and the other two should have the whitespace ignored creating the same pattern</p>
  
  <p>Having it all one line works perfectly but is harder to read and edit.</p>
  
  <pre><code>    Regex dummy1 = new Regex(@"(^\s*#(?&lt;test&gt;.*))", RegexOptions.Compiled );
      Regex dummy2 = new Regex(@"(^\s*#(?&lt;test&gt;.*)
  )", RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
      Regex dummy3 = new Regex(@"(^\s*#(?&lt;test&gt;.*))", RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
  </code></pre>