diff options
author | Tanmay Bhatia <tanmay@thetaggid.com> | 2021-01-13 17:40:47 -0800 |
---|---|---|
committer | Tanmay Bhatia <tanmay@thetaggid.com> | 2021-01-13 17:40:47 -0800 |
commit | af8e4bcb1a847d28920a3ef83226bb9fcbe538f9 (patch) | |
tree | 2ba0ad8a9025b2f7e719df0191c5e90fafd790fc /src/constants/regex.ts | |
parent | d955c6bc31be3b2e3e289a8dec8b5970251d4090 (diff) |
Bio can include everything now
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 6ab045bd..fa35e317 100644 --- a/src/constants/regex.ts +++ b/src/constants/regex.ts @@ -40,7 +40,7 @@ export const websiteRegex: RegExp = /^$|^(https?:\/\/)?(www\.)?[-a-zA-Z0-9@:%._+ * - max. 150 chars for bio * - match alphanumerics, and special characters used in URLs */ -export const bioRegex: RegExp = /^$|^[A-Za-z0-9'\-,.!@#$%^&*()_:?/ ]{1,150}$/; +export const bioRegex: RegExp = /^$|[^]{1,150}$/; /** * The gender regex has the following constraints |