aboutsummaryrefslogtreecommitdiff
path: root/src/constants/regex.ts
diff options
context:
space:
mode:
authorIvan Chen <ivan@thetaggid.com>2021-01-15 14:11:59 -0500
committerGitHub <noreply@github.com>2021-01-15 14:11:59 -0500
commit1dccfb1d3e9470d81de8d1ec0a0dbb3803372f7d (patch)
tree19283912419b93d92271744335cff00f741c2611 /src/constants/regex.ts
parente9013ea4d9f44a9f8734d60ac40074e6d82ea736 (diff)
parent397fb6b17ed88d631db0b8bd67f877bc14d59d35 (diff)
Merge pull request #183 from tbhatia2299/HOTFIX_BIO
TMA-542-HOTFIX-BIO
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 6ab045bd..fe5ce3ab 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 = /^[\s\S]{1,150}$/;
/**
* The gender regex has the following constraints