aboutsummaryrefslogtreecommitdiff
path: root/src/constants/regex.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-23 16:26:12 -0400
committerGitHub <noreply@github.com>2021-06-23 16:26:12 -0400
commit8c2b915678b852f597c38ab00d18c22bf62d2051 (patch)
tree7a268ef4d84b7870ded9020af637785c452a7923 /src/constants/regex.ts
parentcd5863264d0fe954e63d8cc93fc4ee6ab509f49b (diff)
parent16f6341daff56f827fbb6c6ade9cf1238e8e5f3e (diff)
Merge pull request #473 from IvanIFChen/tma938-video-from-camera-video-streaming
[TMA-938] Video From Camera & Video Streaming
Diffstat (limited to 'src/constants/regex.ts')
-rw-r--r--src/constants/regex.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constants/regex.ts b/src/constants/regex.ts
index f934185d..61523203 100644
--- a/src/constants/regex.ts
+++ b/src/constants/regex.ts
@@ -36,7 +36,7 @@ export const nameRegex: RegExp = /^[A-Za-z'\-,. ]{2,20}$/;
* - match alphanumerics, and special characters used in URLs
*/
export const websiteRegex: RegExp =
- /^$|^(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,50}\.[a-zA-Z0-9()]{2,6}\b([-a-zA-Z0-9()@:%_+.~#?&\/=]{0,35})$/;
+ /^$|^(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,50}\.[a-zA-Z0-9()]{2,6}\b([-a-zA-Z0-9()@:%_+.~#?&/=]{0,35})$/;
/**
* The website regex has the following constraints