Parse Dart one character at a time to look for snippets in Templates