Fix escaping of characters in the case of the catchAll