title: Named capturing group to different names
body: <p>I'm working on a logging stack based on Banzai Cloud ClusterFlow, we've a log that is currently parsed with a regular expression and placed in a specific name; however we would like to deprecate that name and replace it with a new one, let's say the pattern is just like the following one:</p>
  <p><code>^(?&lt;someName&gt;[^ ]*) (?&lt;someNameWeWishToDeprecate&gt;[^ ]*)$</code></p>
  <p>supposing we receive a log line such as</p>
  <p><code>prop1 prop2</code></p>
  <p>it will produce two properties in our parsed log:</p>
  <pre><code>someName=prop1
  someNameWeWishToDeprecate=prop2
  </code></pre>
  <p>What we would like to obtain is instead</p>
  <pre><code>someName=prop1
  someNameWeWishToDeprecate=prop2
  someNewFancyNae=prop2
  </code></pre>
  <p>As you can see we'd like to keep the old name but also have the new one; is this possible by elaborating the regular expression?</p>
  <p>FYI: the regular expression engine is ruby-based</p>