How to reference to a group using a regex in MySQL? I tried:
REGEXP '^(.)\1$'
but it does not work. How to do this?