note 30192 rejected from function.ereg by rioter
| From: | rioter@php.net | Date: | Mon, 10 Mar 2003 02:53:20 +0000 |
| Subject: | note 30192 rejected from function.ereg by rioter | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-45057@lists.php.net to get a copy of this message | ||
I was using ereg() like this:
ereg('^[_a-zA-Z0-9 ]{10,1000}$',$str, $regs)
and this is the error I got:
Warning: ereg() [function.ereg]: REG_BADBR in /var/www/apfns/validateInput.php on line 29
Any ideas?