John: adding working regex, a few things need to still be finished, such as not running the parser if the regex fails