So John, which one could we follow or modify to handle Marc concern !! Sent from my iPhone
On Aug 14, 2020, at 6:12 PM, John Levine <john.levine@standcore.com> wrote:
In article <58D262E2-7B30-4F9B-882F-49865CDC4B2A@governanceprimer.com> you write:
-=-=-=-=-=- -=-=-=-=-=-
Abdel, thank you greatly for this.
One of the coders at Governance Primer has been studying that code since you showed it on the EAI call, and came up witht he following variant:
^(([\p{L}.%+-]+@[\p{L}.-]+\.[\p{L}]{2,})|([\p{L}]{2,}\.[\p{L}.-]+@[\p{L}.%+-]+))$
What do you think about this one?
I don't understand what this one is trying to do but it's clearly wrong since it allows % in host names.
If it's trying to handle RTL scripts, your coder misunderstands the way RE matching works. It matches characters in the order they're stored, not the order they're displayed.
-- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly _______________________________________________ UA-discuss mailing list UA-discuss@icann.org https://mm.icann.org/mailman/listinfo/ua-discuss _______________________________________________ By submitting your personal data, you consent to the processing of your personal data for purposes of subscribing to this mailing list accordance with the ICANN Privacy Policy (https://www.icann.org/privacy/policy) and the website Terms of Service (https://www.icann.org/privacy/tos). You can visit the Mailman link above to change your membership status or configuration, including unsubscribing, setting digest-style delivery or disabling delivery altogether (e.g., for a vacation), and so on.