

Sure, if the provider is RFC882 compliant. I believe 882 has since been superseded too?
I believe when I last researched the question to address some issue in my own regex, some Stackoverflow comment brought up an example of an address that could receive mail but wasn’t compliant.
Hence the more robust approach, which is also the only feasible way to ensure that there are no typos and that the recipient is actually the one signing up: Send a verification mail to that recipient. If the correct confirmation token gets back to you, someone or something probably got and read that mail.
You can do some minimal check to avoid things like spaces, ensure there is an @ in there somewhere, but beyond that, it’s really not sensible to check them against some long-winded regex.
Particularly when you’re vibe-coding, can’t know whether the generator got the regex correct and also can’t debug it.




Because violence tends to either escalate or peter out. Either you run out of people that support you or you eventually force the government to throw all its might at suppressing you. Unless you are very well-prepared, organised and have sufficient and resilient support, it might fail and not achieve much other than provide further pretext for crackdown.
Historically, non-violent resistance has a good track record, if (and only if) it is targeted well and applied with resilience and persistence. It has a potential to galvanise the participants, stir people into action (which helps with recruiting more) and cast the injustice of a violent system into relief.
Mind, non-violently doesn’t mean writing stern letters or standing on the wayside looking pissed. It absolutely includes disrupting, getting in the way, being a nuisance, being impossible to ignore. The Nashville sit-ins, for example, obstructed the business of lunch counters that refused to serve black people by taking up spots reserved for the people that the establishment would actually like to do business with. In our example, people might occupy the offices of the corrupt administrators, asking to talk to them and making them listen to their constituents in the most literal way, refusing to leave until they get results.
It most certainly will be considered some form of unlawful conduct and will possibly be met with force. The police will be called and start making arrests. But a well-organised and patient campaign to coerce the corrupt officials into rescinding their decisions or resigning (at which point their successors will be subjected to the same demand) doesn’t need to hurt people.
It just needs to erode their will until complying with the demands looks like the most bearable option.