As the title suggests, this PR creates a new email validation mechanic by editing the TextFieldType::Email enum, allowing programmers to add custom domains to the matching algorithm.
It also removes regex matching – not only was this expensive, but it was also far too challenging to transform our standard String emails into a regex pattern. Overall, it was not worth it, and the new version will work using pure Rust functions.
As the title suggests, this PR creates a new email validation mechanic by editing the `TextFieldType::Email` enum, allowing programmers to add custom domains to the matching algorithm.
It also removes regex matching – not only was this expensive, but it was also far too challenging to transform our standard `String` emails into a regex pattern. Overall, it was not worth it, and the new version will work using pure Rust functions.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
As the title suggests, this PR creates a new email validation mechanic by editing the
TextFieldType::Emailenum, allowing programmers to add custom domains to the matching algorithm.It also removes regex matching – not only was this expensive, but it was also far too challenging to transform our standard
Stringemails into a regex pattern. Overall, it was not worth it, and the new version will work using pure Rust functions.