Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
u1-liquid committed Mar 20, 2024
1 parent ac717cb commit 3d95ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/misc/normalize-email-address.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const specialCharactersRegexp = /(\(.*?\)|(\+.*(?=@)))/u;
const specialCharactersRegexp = /(\(.*?\)|(\+.*(?=@)))/gu;

export function normalizeEmailAddress(email: string | null): string | null {
return email?.replaceAll(specialCharactersRegexp, '') ?? null;
Expand Down

0 comments on commit 3d95ffe

Please sign in to comment.