From ed3fb42b1649eb540b83ddf51d4d3e566e33cac7 Mon Sep 17 00:00:00 2001 From: msaadsiddiqui <99405066+msaadsiddiqui@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:41:16 +0000 Subject: [PATCH] Update types.ts to suupor @ as a special char in ans, ns, and s --- src/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/types.ts b/src/types.ts index b377d83..e625337 100644 --- a/src/types.ts +++ b/src/types.ts @@ -44,9 +44,9 @@ export default function checkDataType(format: CustomFormatT, _data: string | nul b: /[0-9ABCDEF]/i, p: /[*#]/i, an: /[0-9a-z]/i, - ans: /[0-9a-z-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]/i, - ns: /[0-9-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]/i, - s: /[-!$%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]/i, + ans: /[0-9a-z-!@$%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]/i, + ns: /[0-9-!@$%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]/i, + s: /[-!@$%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]/i, anp: /[0-9a-z*#\x20]/i, 'x+n': /[0-9]/i, };