Refactored regexes into it's own file. Added strict mode to connery functions