Fixing bad regex killing config files