corrected Regex_exec(), Regex_test()