Skip to content

Commit 6962d9c

Browse files
committed
minor fix
1 parent 3c1457b commit 6962d9c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/helpers/constants/regex.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export const NHS_NUMBER_PATTERN =
2-
/^\s*(\d{10}|\d{3}\s\d{3}\s\d{4}|\d{3}-\d{3}-\d{4})\s*$/;
1+
export const NHS_NUMBER_PATTERN = /^\s*(\d{10}|\d{3}\s\d{3}\s\d{4}|\d{3}-\d{3}-\d{4})\s*$/;

0 commit comments

Comments
 (0)