shortened the urlEscape regex to match the documentation