Escape literal %s in match patterns.