Fix text regexes