title: Regex Capturing Groups in Vala
body: <p>Is there such a thing? I've been looking around the Vala API and the Regex object seems to have no support for capturing groups so that I can reference them later. Is there currently any way to get around this apparent limitation? Say I'm parsing a string out of a group of strings (the contents of a file) for a given pattern like:</p>
  
  <pre>
  parameter = value
  </pre>
  
  <p>But I want the syntax to be lax so that it could also say <pre> parameter=value</pre> or <pre>parameter =   value</pre> etc... The first idea that springs to mind is using regular expressions with capturing groups but there seems to be no support for this feature as a part of Vala right now, as far as I can see.</p>
  
  <p>The only alternative I can come up with is splitting the string with a regular expression that matches whitespace so that I end up with an array I can analyze, but then again the file might not contain only "parameter = value"-like formatted lines.</p>