#19888Use of preg functions with ereg patterns
Description
There are a bunch (see attached file) of preg_* calls using “[:alnum:]” and “[:space:]”. This doesn’t give any error but will not work as intended.
Here’s a quick demo:
// replace "aceps:][" in the string with "s"var_dump(preg_replace("/[[:space:]]*/", 's', 'ab cd fgh ijk nac'));
?>
(issue imported from #M10226)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.