beautify regexes and blame command generation