extracted regexes to constants