REG_BADRPT error

From: Date: Mon, 19 Jul 2004 13:53:41 +0000
Subject: REG_BADRPT error
Groups: php.db 
Request: Send a blank email to php-db+get-35367@lists.php.net to get a copy of this message
Hello, I am getting an REG_BADRPT error when I use ereg. The line of code that errors is: if (!ereg('^(?=.*[0-9]+.*)(?=.*[a-zA-Z]+.*)[0-9a-zA-Z]{8,}$', $pass)){ I got this regex from regexlib.com and tried to impliment it, but no matter what I do it always returns the error. I did a google search and the only suggestion I found was to make sure that the variable contains data. So I echoed the variable and it did have data in it. Does anyone know why I might be getting this? Thanks, Aaron

« previous php.db (#35367) next »