progress on parsing user provided regexes. Major refactoring and error handling needed.