title: Regex capture groups in any order
body: <p>I need to capture attribute values from the string like this:</p>
  
  <pre><code>att_name1=value1|att_name2=value2|att_name3=value3
  </code></pre>
  
  <p>Attributes can be in any order. Number of attributes is about 50.</p>
  
  <p>I'm aware about lookarounds with which I can <strong>match</strong> the string.
  And I wrote the regex that can capture values in particular order:</p>
  
  <pre><code>"^att1=(?&lt;g1&gt;\\w+)\\|att2=(?&lt;g2&gt;\\w+)\\|att3=(?&lt;g3&gt;\\w+)$"
  </code></pre>
  
  <p>Is it a way to handle any attribute order?</p>