Changeset 2652 for OpenPNE/branches/2.6.x/webapp/lib/OpenPNE/KtaiMail.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/OpenPNE/KtaiMail.php
r1784 r2652 250 250 // マッチした最後のものを取ってくるように変更 251 251 $matches = array(); 252 $regx = '/([\.\w!#$%&\'*+ -\/=?^`{|}~]+@[\w!#$%&\'*+-\/=?^`{|}~]+(\.[\w!#$%&\'*+-\/=?^`{|}~]+)*)/';252 $regx = '/([\.\w!#$%&\'*+\-\/=?^`{|}~]+@[\w!#$%&\'*+\-\/=?^`{|}~]+(\.[\w!#$%&\'*+\-\/=?^`{|}~]+)*)/'; 253 253 if (preg_match_all($regx, $str, $matches)) { 254 254 return array_pop($matches[1]);
Note: See TracChangeset
for help on using the changeset viewer.