Code patching

BlitzMax Forums/BlitzMax Programming/Code patching

Hi,

Does anyone know if there is a standard code patcher around? One that works with any language and just requires some tags to work, like:
[OPEN]myfile.bmx[/]
[FIND]"hello world[/]
[INSERT AFTER] and worldets[/]
[FIND]"Funky!"[/]
[REPLACE WITH]"Groovy!"[/]
Or something similar.

I want to make my max module tweaks, so that they can be easily applied after a sync mods... Otherwise I'll have to make a simple system myself.