mapbox-gl-geocoder
mapbox-gl-geocoder copied to clipboard
Check for invalid characters
Currently, invalid (?) characters (***
for example) in user queries throw an error when they get regex'd. These types of queries don’t trigger an error in the geocoding API, but they do trip up a regular expression in the plugin itself.