blender plugin: replace strings substitution with regex