From cc77f9dc9824cae05aa77301d9d669ddd3308535 Mon Sep 17 00:00:00 2001 From: Mara Date: Mon, 13 Oct 2025 07:41:23 +0200 Subject: [PATCH] fix: update regex to include additional punctuation in string replacement close #8 --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index c17c9ee..4b5856b 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -21,7 +21,7 @@ export function standardize(str: string) { .standardize() .unidecode() .replace(/\s/g, "") - .replaceAll(/[\.!_]+/g, ""); + .replaceAll(/[\.!_,&]+/g, ""); } export function removeExtraNewLine(str: string) {