backrefs comparison

https://front-wiki.win/index.php/Exploring_the_Backrefs_Research_Library_for_Smarter_Link_Analysis

Backrefs comparison is a neat tool in regex that lets you check if two separate parts of a string match each other, often used for finding repeated words or paired tags. For instance, you can capture a word and then use a backreference to ensure the same word appears again later, like catching doubled words in editing. It's handy for patterns where consistency between earlier and later parts matters, but it can get tricky with nested structures.