Modules

Extract data structure from TT2-rendered documents
Compile TT2 templates into regular expressions
Apply compiled regular expressions on documents