Issue Bug Closed

#15352Warning: mb_ereg(): mbregex compile err: in /t3lib/class.t3lib_sqlparser.php on line 1124

Stefan Schubert 01/03/06, 16:24 updated 08/12/06, 14:18

Description

while installing typo3 4.0beta1 with tx_dbal according to “http://typo3.org/documentation/document-library/dbal/Doing_the_actual_set/“
after selecting the DB we got:
Warning: mb_ereg(): mbregex compile err: premature end of regular expression in /var/www/typo3dev.mindboxintern.de/typo3_src-4.0beta1/t3lib/class.t3lib_sqlparser.php on line 1124

several times

we replaced “ereg(‘[\]*$’,$v,$reg);” with “preg_match(‘/\\*$/’,$v,$reg);”

it seems to work, no more warning and we can login, but no intensive testing so far

(issue imported from #M2167)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.