I see what you are saying. I think that's precisely the case.
--
Mark W. Datysgeld from Governance Primer [www.markwd.website]
In partnership with AR-TARC and the Brazilian Association of Software Companies (ABES)

On August 14, 2020 1:13:03 PM GMT-03:00, 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.