good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: regex for unicode email addressesby soonix (Canon) |
on Mar 03, 2022 at 09:54 UTC ( [id://11141785]=note: print w/replies, xml ) | Need Help?? |
I was not aware that Unicode is allowed in the localpart, but apparently, both Wikipedia and RFC 5322 say they can, if encoded as UTF-8. I assume Domain Names are to be encoded as IDN. Of course, neither WP nor RFC are authoritative for POSIX or Perl, but most probably POSIX is based upon some RFC, and the Perl modules are, too.
In Section
Seekers of Perl Wisdom
|
|