Escape path in regex.