(regex_compile): Last patch wasn't entirely correct.