title: How do I refer to capture groups in a MySQL regex?
body: <p>How to reference to a group using a regex in MySQL?
  I tried:</p>
  
  <pre><code>REGEXP '^(.)\1$'
  </code></pre>
  
  <p>but it does not work.
  How to do this? </p>