aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTanmay Bhatia <38436012+tbhatia2299@users.noreply.github.com>2020-10-24 09:40:22 -0700
committerGitHub <noreply@github.com>2020-10-24 12:40:22 -0400
commit8b680e97ad4689493d2c398281cc0da8e333aa04 (patch)
tree77f222b8aa735a018cca5ef3617a1cbf2ef43148 /src
parentd0237cbb61e5c4d77c7b0cefc50891639646ee91 (diff)
Updated BioRegex to include additional characters (#66)
* Updated BioRegex to include additional characters * Removed one '-'
Diffstat (limited to 'src')
-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 c380ee30..38ed03ce 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-z'\-,. ]{1,150}$/;
+export const bioRegex: RegExp = /^$|^[A-Za-z'\-,.!@#$%^&*()_:?/ ]{1,150}$/;
/**
* The gender regex has the following constraints