ID: 39723 Updated by: [EMAIL PROTECTED] Reported By: toomore0929 at gmail dot com -Status: Open +Status: Bogus Bug Type: *Regular Expressions Operating System: windowsXP PHP Version: 4.4.4 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2006-12-04 05:19:48] toomore0929 at gmail dot com Description: ------------ I went to check a mail but have some question. Reproduce code: --------------- $mail = "[EMAIL PROTECTED]"; First way eregi("^[[:alnum:[EMAIL PROTECTED]:alnum:]]+\.(com|edu|net|org)(\.[[:lower:]]{2})?$",$mail) Second way eregi("^[[:alnum:[EMAIL PROTECTED]:alnum:]]+\.(com|edu|net|org)(\.[[:lower:]]{2})?$",$mail) Expected result: ---------------- First way return True Second way return True Actual result: -------------- First way Warning: eregi() [function.eregi]: REG_ERANGE in C:\foo\foo.php on line Second way return True ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39723&edit=1
