We should be using something like [htmlbars-printer](https://github.com/code0100fun/htmlbars-printer) to parse the templates then work with their ASTs, rather than using regexp.
We should be using something like htmlbars-printer to parse the templates then work with their ASTs, rather than using regexp.