mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
use \042 instead of \" in regular expression, as it stalls minifier
This commit is contained in:
parent
e3dc74eef6
commit
87ea75a75b
@ -32,7 +32,8 @@ var et2_url = et2_textbox.extend(
|
|||||||
},
|
},
|
||||||
|
|
||||||
// PREG for client-side validation copied from etemplate_widget_url
|
// PREG for client-side validation copied from etemplate_widget_url
|
||||||
EMAIL_PREG: new RegExp(/^(?:[ a-z0-9!#$%&'*+/=?^_`{|}\(\)~-]+<)?[^\x00-\x20()<>@,;:\"\[\]]+@([a-z0-9ÄÖÜäöüß](|[a-z0-9ÄÖÜäöüß_-]*[a-z0-9ÄÖÜäöüß])\.)+[a-z]{2,6}/i),
|
// using \042 instead of " to NOT stall minifyer!
|
||||||
|
EMAIL_PREG: new RegExp(/^(?:[ a-z0-9!#$%&'*+/=?^_`{|}\(\)~-]+<)?[^\x00-\x20()<>@,;:\042\[\]]+@([a-z0-9ÄÖÜäöüß](|[a-z0-9ÄÖÜäöüß_-]*[a-z0-9ÄÖÜäöüß])\.)+[a-z]{2,6}/i),
|
||||||
/**
|
/**
|
||||||
* @memberOf et2_url
|
* @memberOf et2_url
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user