diff --git a/index.js b/index.js index aaa1d414987b57f97e9f62e167f928be83d3da6a..290096186450dfb61707f2db3f341fff8a017a52 100644 --- a/index.js +++ b/index.js @@ -247531,7 +247531,7 @@ async function getInseeCode(postalCode, city) { function sanitizeCity(city) { return city .toLowerCase() - .replace(/st/g, 'saint') + .replace(/\bst\b/i, 'saint') .replace(/[âêîôûäëïü-\sʼ'éèç]/g, match => REPLACE_CHARS[match]) .trim() }