This takes us into the realm of Yacc (Bison) and Lex for tokenising and parsing. Just a few Javascript versions and alternatives off hand: https://www.npmjs.com/package/jscc-parser http://zaach.github.com/jison/docs/ http://canna71.github.io/Jacob/
I'm sure there must be someway to sort out the tokenising of a standard Tiddler. Hmmm, the last time I worked with Yacc/Lex was about 25 years ago. Guess I'm a little rusty on the subject these days. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/533d9336-982b-4f1c-8252-4ba073554fa0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.