moved regexes to list
compile regexes