You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: genui's email check rejects every real address #2854
I have searched the existing issues to make sure this bug has not already been reported.
Describe the Bug
genui's email check rejects every real email address. EmailFunction.executeSync (basic_functions.dart:312) builds its pattern as:
final emailRegex =RegExp(r'^[^@]+@[^@]+\.[^@]+\$');
It is a raw string, so \$ is a backslash followed by a dollar sign rather than the end-of-string anchor. The pattern asks for an address that literally ends in \$.
So the only values that pass are the ones nobody would type.
This is invisible right now because of #2853: checks never fail either way. Once that is fixed this one starts rejecting valid input, which is why it seemed worth filing separately.
The fix is dropping the backslash, RegExp(r'^[^@]+@[^@]+\.[^@]+$'), which is what the table above measures. Happy to send it along with the #2853 work if you want them together.
Activity
nan-yu commentedon Sep 28, 2026
A2UI Triage: Thanks for reporting. We will investigate the email validation regex logic in genui. cc @polina-c
polina-c commentedon Sep 29, 2026
Seems to be P1. I will take it.
Fix/email validation regex (#1026)
Add commit history to RESUME.cs.md (#2)
Rename type values in RESUME.cs.md to hyphenated form (#3)
Update RESUME metadata and repository type (#4)