regular_expression_parserSecond attempt, now with more experience and foresight (probably, hopefully).