title: Unable to exclude non-capturing groups in .NET
body: <pre><code>var regex = new Regex(@"^(?:&amp;nbsp;)?\((\w+)\)$");
  var value = "&amp;nbsp;(HTML)";
  
  //I tried to play around with the following but it captures the whole string
  var match = ResourceTypeRegex.Match(resourceType);
  
  //The following lines all evaluate to the entire string
  match.Groups.OfType&lt;Group&gt;().SingleOrDefault();
  match.Captures.OfType&lt;Capture&gt;().SingleOrDefault();
  match.Groups[0].Captures.OfType&lt;Capture&gt;().SingleOrDefault();
  </code></pre>
  
  <p>I only want to capture <code>HTML</code> or whatever string it is.</p>