fixing find/replace path regex exceptions