Use regular expression replacements supporting backreferences instead of plaintext replacements in plugins/corrections.py