title: Are there named groups in Groovy regex pattern matches?
body: <p>Something like:</p>
  
  <pre><code>def match = "John 19" =~ /(&amp;name&amp;)\w+ (&amp;age&amp;\d+)/
  def name = match.name
  def age = match.age
  </code></pre>
  
  <p>Is there a groovy syntax that allows for something like this (instead of of the fictional <code>&amp;</code> operator I made up? </p>