Create new email validation system #46

Merged
BobdaFett merged 1 commits from feat/email-options into main 2026-01-14 14:32:07 +00:00
BobdaFett commented 2026-01-14 13:44:31 +00:00 (Migrated from github.com)

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.
Sign in to join this conversation.