Fixes #1027 RegexpMapper uses deprecated PREG_REPLACE_EVAL