Add escape-region function.