title: Regex Operation not returning specific values
body: <p>I'm using following Regex Operation </p>
  
  <pre><code>(?:public\s|private\s|protected\s|internal\s|)?[\s\w]*\s+(?&lt;methodName&gt;\w+)\s*\(\s*(?:(ref\s|in\s|out\s)?\s*(?&lt;parameterType&gt;[\w\?\[\]]+)\s+(?&lt;parameter&gt;\w+)\s*,?\s*)+\)
  </code></pre>
  
  <p>it is working fine on method like </p>
  
  <pre><code>public ResponseViewModel ResponseDetails(
      ResponseViewModelContext responseViewModelContext)
  </code></pre>
  
  <p>but if there is any List in either return type or parameter it is not matching as expected.</p>
  
  <p>i.e following method is not working</p>
  
  <pre><code>public List&lt;ResponesViewModel&gt; ResponseDetails(
      List&lt;ResponesViewModelContext&gt; responseViewModelContext)
  </code></pre>
  
  <p><a href="https://regex101.com/r/SqAFgb/1" rel="nofollow">Link for Online Regex Tried</a></p>