[Issue 10089] New: regex that does not pass `regtest()` causes the entire process to exit