wellcomecollection / catalogue-api

:crystal_ball: The API for searching the Wellcome Collection catalogue.
https://developers.wellcomecollection.org
MIT License
4 stars 0 forks source link

escape optional regex characters #719

Closed paul-butcher closed 1 year ago

paul-butcher commented 1 year ago

https://github.com/wellcomecollection/catalogue-api/issues/696

The original incarnation of this only escaped the standard set of characters. However, the optional set is enabled by default, so I have extended the escaper to cover them.