Ciao TonyM I sat a bit with this and your last post that lists useful requests I've noted.
I think the issue, at root, is "regex" is an powerful pattern matching "language" built into JavaScript that TW has access to. And its wortrh noting that a lot of TiddlyWiki, behind the scenes, uses it extensively (most "pragma" for instance use regexes within an "AST" (a framework that controls them) in applying WikiText). Regex as a [filter] is interesting and useful, but I'm not sure it can be leveraged without slightly better understanding what regex can and can't do. Important to note is regex has NO understanding of maths at all. YET you can use it, for instance, to support a system that needs proper accurate dates, including leap years and month days from 1000 to 9999 in both the Grgeorian and Julian clanders. But it does NOT do it though calculation. It does it through pattern matching only. Its this apparent weirdness in regex I think that is very confusing if you looking for a logical operator that can say "yes" or "the total is". That is not its strength and it will confound you thinking it might be (because it sort of looks "intelligent"--its actually more like using crossword-puzzles). *So maybe what is perhaps needed most are some basic examples of what regex patterns are and how they match example data?* BTW, the examples you ask about, when they involve matching strings in TW (not evaluation or math), are all easily doable via regex. Thoughts Josiah TonyM wrote: > > With *2019-08-01* give *20190801* (remove delimiters > or return > 2019 > 08 > 01 > > Do the reverse? add "-" tt position 4 6 8 > >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/90579911-41c9-4b24-8444-3bcc6d63aaa5%40googlegroups.com.