Changeset 2652 for OpenPNE/branches/2.6.x/webapp/lib/util/util.php
- Timestamp:
- May 1, 2007, 3:01:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/2.6.x/webapp/lib/util/util.php
r2644 r2652 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]+@\w[\w\-.]*\.[a-zA-Z]+$/', $value)) { 195 195 return true; 196 196 } else {
Note: See TracChangeset
for help on using the changeset viewer.