Changeset 4562 for sandbox/2.2.0.2
- Timestamp:
- 05/31/11 17:33:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.2.0.2/expressoMail1_2/js/TreeShow.js
r3884 r4562 69 69 Tree_Box.prototype.verify = function(exp) 70 70 { 71 // IE does not understand regExp!!! 72 if (is_ie)73 var reTipo = /^[a-z0-9 \-_+=]*$/i;74 else75 eval('var reTipo = /^[a-z0-9 \-_+=áéíóúàèìòùâêôãõÃÕÁÉÍÓÚÀÈÌÒÙÂÊÔçÇüñ]*$/i');76 return reTipo.test(exp);71 // IE does not understand accents in regex! that \xNN are the hex codes for the accented characters! 72 var reTipo = /^[\w\xda\xc1\xc9\xcd\xd3\xdd\xe1\xe9\xed\xfa\xfd\xf3\xc0\xc8\xcc\xd2\xe0\xe8\xec\xf2\xf9\xd9\xc3\xd1\xd5\xe3\xf1\xf5\xc2\xca\xce\xd4\xe2\xea\xee\xf4\xdb\xfb\xc7\xe7\xc4\xd6\xe4\xf6\xfc\xcb\xcf\xeb\xef\xff \-_+=]*$/i; 73 if(exp.search(reTipo) == -1) 74 return false; 75 else 76 return true; 77 77 } 78 78
Note: See TracChangeset
for help on using the changeset viewer.