accept all types of regexes