regtest() shouldn't exit the process on failure
Allow caller to determine if the process should exit or not when the regex is found to be problematic.
Allow caller to determine if the process should exit or not when the regex is found to be problematic.