aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTanmay Bhatia <tanmay@thetaggid.com>2021-01-14 10:05:56 -0800
committerTanmay Bhatia <tanmay@thetaggid.com>2021-01-14 10:05:56 -0800
commit2c80480ba67a4a8315160f18fe10551dbed03f63 (patch)
tree8e05e065597171778e69d127d2e1a56b4a24018c /src
parentaf8e4bcb1a847d28920a3ef83226bb9fcbe538f9 (diff)
Made a slight change in the bioRegex string
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 fa35e317..273d3472 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 = /^$|[^]{1,150}$/;
+export const bioRegex: RegExp = /[^]{1,150}$/;
/**
* The gender regex has the following constraints