Sha256: 9b386ecd9d4809d51f566548c2c36a7fa3e67385a6cf2235cd480639f5828e99
Contents?: true
Size: 739 Bytes
Versions: 9
Compression:
Stored size: 739 Bytes
Contents
//>>built define("dojox/validate/web",["./_base","./regexp"],function(_1,_2){ _1.isIpAddress=function(_3,_4){ var re=new RegExp("^"+_2.ipAddress(_4)+"$","i"); return re.test(_3); }; _1.isUrl=function(_5,_6){ var re=new RegExp("^"+_2.url(_6)+"$","i"); return re.test(_5); }; _1.isEmailAddress=function(_7,_8){ var re=new RegExp("^"+_2.emailAddress(_8)+"$","i"); return re.test(_7); }; _1.isEmailAddressList=function(_9,_a){ var re=new RegExp("^"+_2.emailAddressList(_a)+"$","i"); return re.test(_9); }; _1.getEmailAddressList=function(_b,_c){ if(!_c){ _c={}; } if(!_c.listSeparator){ _c.listSeparator="\\s;,"; } if(_1.isEmailAddressList(_b,_c)){ return _b.split(new RegExp("\\s*["+_c.listSeparator+"]\\s*")); } return []; }; return _1; });
Version data entries
9 entries across 9 versions & 2 rubygems