Each regexp replace callback function now has ...args and should not crash with too many arguments. ParserTest and EventTest are passed.