Changed how commands in parse trees are flattened into strings.
Indicated regex is an argument for the purpose of templating.
Merge pull request #86 from salspaugh/nologging

Some modifications to how commands are flattened into strings, added 'REGULAR_EXPRESSION' as an arg.