seems to be extracting regexes now