Warning: ereg_replace(): REG_EBRACK in .....
Greetings
I'm getting this error while spidering
Warning: ereg_replace(): REG_EBRACK in /full/path/to/libs/phpdig_functions.php on line 231
$text = ereg_replace('(['.$phpdig_words_chars[$encoding].'])[\'._~@#$:&%/;,=-]+
($|[[:space:]]$|[[:space:]]['.$phpdig_words_chars[$encoding].'])','\1\2',$text);
I have replaced ereg_replace with str_replace and it works fine
now phpDig works fine, but why it was giving errors with ereg_replace?
|