Skip to content

Commit 696019a

Browse files
hmarthmelwynfurtado
authored andcommitted
changed regex for VN
1 parent 0b6cb9a commit 696019a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/postcode-regexes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export const POSTCODE_REGEXES: Map<string, RegExp> = new Map([
156156
[CountryCode.NC, /^988\d{2}$/],
157157
[CountryCode.NE, /^\d{4}$/],
158158
[CountryCode.VI, /^008(([0-4]\d)|(5[01]))([ \-]\d{4})?$/],
159-
[CountryCode.VN, /^\d{6}$/],
159+
[CountryCode.VN, /^\d{5,6}$/],
160160
[CountryCode.PF, /^987\d{2}$/],
161161
[CountryCode.PG, /^\d{3}$/],
162162
[CountryCode.PM, /^9[78]5\d{2}$/],

0 commit comments

Comments
 (0)