Fix engine_err_regex and the related test

Looks like you failed 1 test of 338. :D