fixed test_regex