diff options
author | Michael <michael.foiani@gmail.com> | 2021-07-02 14:45:18 -0400 |
---|---|---|
committer | Michael <michael.foiani@gmail.com> | 2021-07-02 14:45:18 -0400 |
commit | 0d95e094b6370f32f6214d74a87ca56ea6eb477e (patch) | |
tree | 9cb100002b07a2ccd2aecbdf727d1ddb33ca0df7 /src/constants/regex.ts | |
parent | 643e7adcda3e5ae7aa3daeb86020f2e6f38d1448 (diff) | |
parent | fa9c527f85d23a38b45c7efc41ec4590597fa7a1 (diff) |
Merge master into this test branch.
Diffstat (limited to 'src/constants/regex.ts')
-rw-r--r-- | src/constants/regex.ts | 2 |
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 |