stevenbeales
1/9/2019 - 3:10 AM

Detecting doubled words with regex

double_re = /\b(['A-Z]+) +\1\b/i