title: Powershell: match operator returns true but $matches is null
body: <p>I am working with a regex to match file contents:</p>
  
  <pre><code>&gt; (get-content $_) -match $somePattern
  the line of text that matches the pattern
  </code></pre>
  
  <p>this returns true, a match, however my $matches variable remains null. </p>
  
  <pre><code>&gt; $matches -eq $null
  True
  </code></pre>
  
  <p>Shouldn't $matches have the match groups in it?</p>