Skip to content

Commit 87f52f4

Browse files
albsbzalbsbz
andauthored
th-127: + tax number accepts digits (#147)
Co-authored-by: albsbz <[email protected]>
1 parent 6bfe29b commit 87f52f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/packages/users/libs/validation-schemas/enums/user-validation-rule.enum.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const UserValidationRule = {
33
NAME: /^['A-Za-z-]{1,40}$/,
44
PHONE: /^\+\d{8,19}$/,
55
TAX_NUMBER: /^[\d\s./A-Z-]{8,19}$/,
6-
COMPANY_NAME: /^[\s!#&'*+,.;?@A-Z_a-z~-]{1,40}$/,
6+
COMPANY_NAME: /^[\s\w!#&'*+,.;?@~-]{1,40}$/,
77
EMAIL_MIN_LENGTH: 5,
88
EMAIL_MAX_LENGTH: 254,
99
DRIVER_LICENSE_NUMBER: /^[A-Z]{3} \d{6}$/,

0 commit comments

Comments
 (0)