Moved regexes into it's own file