add util_regex and test