title: Compare Regex pattern
body: <p>Let's assume we have two regex pattern, which are different but actually mean the same, e.g.: </p>
  
  <pre><code>XX[0-9]{1,5}:.*
  
  XX[0-9]{1,5}: .*
  </code></pre>
  
  <p>Only difference is the space previous to the .* Is there a way to check if these pattern get the same matches? </p>