diff --git a/api/js/etemplate/et2_widget_url.js b/api/js/etemplate/et2_widget_url.js index 56ef80c47a..a60e8f7a33 100644 --- a/api/js/etemplate/et2_widget_url.js +++ b/api/js/etemplate/et2_widget_url.js @@ -46,9 +46,13 @@ var et2_url = (function(){ "use strict"; return et2_textbox.extend( * * Using \042 instead of " to NOT stall minifyer! * - * Same preg is in Etemplate\Widget\Url PHP class! + * Similar, but not identical, preg is in Etemplate\Widget\Url PHP class! + * We can not use "(?@,;:\042\[\]\x80-\xff]+(??$/i), + EMAIL_PREG: new RegExp(/^(([^\042',<][^,<]+|\042[^\042]+\042|\'[^\']+\'|"(?:[^"\\]|\\.)*")\s?<)?[^\x00-\x20()<>@,;:\042\[\]\x80-\xff]+@([a-z0-9ÄÖÜäöüß](|[a-z0-9ÄÖÜäöüß_-]*[a-z0-9ÄÖÜäöüß])\.)+[a-z]{2,}>?$/i), /** * @memberOf et2_url */