Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Feb 29, 2024
2 parents edf1e56 + 857d2f8 commit d25ece6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const plugin: FbFormFieldPatternValidatorPlugin = {
name: "form-field-validator-pattern-email",
pattern: {
name: "email",
regex: `^\\w[\\w.-]*@([\\w-]+\\.)+[\\w-]+$`,
regex: `^\\w[\\+\\w.-]*@([\\w-]+\\.)+[\\w-]+$`,
flags: "i"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const createEmailPatternValidator = (): CmsModelFieldPatternValidatorPlug
name: "cms-model-field-validator-pattern-email",
pattern: {
name: "email",
regex: `^\\w[\\w.-]*@([\\w-]+\\.)+[\\w-]+$`,
regex: `^\\w[\\+\\w.-]*@([\\w-]+\\.)+[\\w-]+$`,
flags: "i"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const plugin: FbFormFieldPatternValidatorPlugin = {
name: "form-field-validator-pattern-email",
pattern: {
name: "email",
regex: `^\\w[\\w.-]*@([\\w-]+\\.)+[\\w-]+$`,
regex: `^\\w[\\+\\w.-]*@([\\w-]+\\.)+[\\w-]+$`,
flags: "i"
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const plugin: CmsModelFieldRegexValidatorExpressionPlugin = {
name: "email",
label: "E-mail",
message: "Please enter a valid e-mail.",
regex: `^\\w[\\w.-]*@([\\w-]+\\.)+[\\w-]+$`,
regex: `^\\w[\\+\\w.-]*@([\\w-]+\\.)+[\\w-]+$`,
flags: "i"
}
};
Expand Down

0 comments on commit d25ece6

Please sign in to comment.