orcm_regex error handling, fix loop escape in in orte regex test