From 3666c64a279eb620927a658d00a124d0b16f8915 Mon Sep 17 00:00:00 2001 From: Yoswaris Lawpaiboon <22832362+kiznick@users.noreply.github.com> Date: Thu, 9 Sep 2021 21:08:09 +0700 Subject: [PATCH] Add Support UTF-8 Email --- js/languages/jquery.validationEngine-th.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/languages/jquery.validationEngine-th.js b/js/languages/jquery.validationEngine-th.js index 0c45bbc..55e0c4d 100644 --- a/js/languages/jquery.validationEngine-th.js +++ b/js/languages/jquery.validationEngine-th.js @@ -84,7 +84,7 @@ }, "email": { // HTML5 compatible email regex ( http://www.whatwg.org/specs/web-apps/current-work/multipage/states-of-the-type-attribute.html# e-mail-state-%28type=email%29 ) - "regex": /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, + "regex": ^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$, "alertText": "* อีเมล์ไม่ถูกต้อง" }, "fullname": {