Skip to content

Commit

Permalink
Update types.ts to suupor @ as a special char in ans, ns, and s (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
msaadsiddiqui authored Dec 25, 2023
1 parent f6c3206 commit b06b67a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit b06b67a

Please sign in to comment.