Regex and unicode returning wrong indexes

I didn’t know that existed! it’s the way to go probably