in reply to replacing continuesly occuring pattern

Several options are open:

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law