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, };