Changeset 2796 for OpenPNE/branches/2.6.x/webapp/lib/util/util.php
- Timestamp:
- May 11, 2007, 7:46:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/2.6.x/webapp/lib/util/util.php
r2652 r2796 192 192 function db_common_is_mailaddress($value) 193 193 { 194 if (preg_match('/^[^:;@,\s ]+@\w[\w\-.]*\.[a-zA-Z]+$/', $value)) {194 if (preg_match('/^[^:;@,\s\x80-\xFF]+@\w[\w\-.]*\.[a-zA-Z]+$/', $value)) { 195 195 return true; 196 196 } else {
Note: See TracChangeset
for help on using the changeset viewer.