title: Groovy Regex: Capture group in Switch Statement
body: <p>Given the following Groovy code switch statement:</p>
  
  <pre><code>def vehicleSelection = "Car Selected: Toyota"
  
  switch (vehicleSelection) {
     case ~/Car Selected: (.*)/:
  
        println "The car model selected is "  + ??[0][1] 
  }
  </code></pre>
  
  <p>Is it possible to extract the word "Toyota" <em>without</em> defining a new (<code>def</code>) variable?</p>