intersystems-community / code-snippets

Code snippets library on ObjectScript
MIT License
3 stars 3 forks source link

e-mail validator method #1

Open onKDV opened 4 years ago

onKDV commented 4 years ago

Hi mankind ! 😉

e-mail validation method: ( validateSpecial.cls ) does not correctly determine some addresses:

test "mail@site.domain." - is not valid ?! but test "mail@site" - is valid ?!

evshvarov commented 4 years ago

Thank you, Dmitry! And you are welcome to introduce a PR if you want!

On Thu, Jul 2, 2020 at 9:44 AM Konoferchuk Dmitry notifications@github.com wrote:

Hi mankind ! 😉

e-mail validation method: ( validateSpecial.cls https://github.com/intersystems-community/code-snippets/blob/master/src/cls/brianpalmund/validateSpecial.cls ) does not correctly determine some addresses:

test "mail@site.domain." - is not valid ?! but test "mail@site" - is valid ?!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/intersystems-community/code-snippets/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAVHEP552EAJLWXQXBE35JTRZQUF3ANCNFSM4OOSKBFQ .