Date: 10/15/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7169 Updated: Crash with long .php-file and --trans-sid"
- Previous message: beckett <email protected>: "[PHP-DEV] PHP 4.0 Bug #7220: Error Report on Function Arguments"
- Next in thread: Ignacio Vazquez-Abrams: "Re: [PHP-DEV] PHP 4.0 Bug #7222: ereg_replace, ereg"
- Reply: Ignacio Vazquez-Abrams: "Re: [PHP-DEV] PHP 4.0 Bug #7222: ereg_replace, ereg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: zibin <email protected>
Operating system: unix
PHP version: 4.0.2
PHP Bug Type: *Regular Expressions
Bug description: ereg_replace, ereg
everytime I have a regular expression which have ".*" or "[0-9]*" I get the following error:
Warning: REG_BADRPT in /home/websites/www.gigcenter.com/DB.htmlToPHP3.php3 on line 236
For example:
if ( eregi("onlyuser\[(.*?)\]",$inside, $regs) ||
if ( eregi("adduser\[(.*?)\]",$inside, $regs) ) {
But this doesn't cause error:
if ( eregi("authenticate=(.)",$inside, $regs) )
$authenticate = $regs[1];
if ( eregi("MUST Authenticate",$inside) )
thanks for your time.
-- Edit Bug report at: http://bugs.php.net/?id=7222&edit=1-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7169 Updated: Crash with long .php-file and --trans-sid"
- Previous message: beckett <email protected>: "[PHP-DEV] PHP 4.0 Bug #7220: Error Report on Function Arguments"
- Next in thread: Ignacio Vazquez-Abrams: "Re: [PHP-DEV] PHP 4.0 Bug #7222: ereg_replace, ereg"
- Reply: Ignacio Vazquez-Abrams: "Re: [PHP-DEV] PHP 4.0 Bug #7222: ereg_replace, ereg"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

