Make a modify/replace append if the pattern was not found