From 166c308b39cbf2bcbd2d3fe06a9642c910623957 Mon Sep 17 00:00:00 2001 From: Caio Campos <20524962+caiocampos@users.noreply.github.com> Date: Sun, 3 Nov 2024 20:53:14 -0300 Subject: [PATCH] Update string-utils.ts --- src/utils/string-utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/string-utils.ts b/src/utils/string-utils.ts index a1294177..bed648e5 100644 --- a/src/utils/string-utils.ts +++ b/src/utils/string-utils.ts @@ -1,5 +1,5 @@ -export const regexDot = /([.:;])\s+/g; -export const dots = [".", ":", ";"]; +export const regexDot = /([.:;!?])\s+/g; +export const dots = [".", ":", ";", "!", "?"]; export const regexLink = /(http[s]?:\/\/[.a-z0-9@/-]+)/gi; export const regexSpecial = /([\-;,.:\(\)\/\\@\'\"]|\s)+/g; export const regexSpaces = /\s/g;