Even though this commit hasn't been accepted into the TWCore, I've been using it since 2017 on a private project.
In that project, I have tiddlers whose title contains a 14-digit date/time stamp like this:
$:/Category/Section/20200616071922/Name/Of/Item/Here
where "$:/Category/Section" can vary (e.g., "$:/Books/SciFi", "$:/Music/Rock", "$:/Photos/Vacation", etc.)
and the date/time stamp shows when that tiddler was added to my collection of stuff,
regardless of when the TWCore recorded that tiddler as *created* or *modified*
and I use the regexps[] filter operator like this:
\define itempattern() [0-9]{14}$
\define datepattern() ^[0-9]{8}
\define getAllDates() [prefix<categorysection>regexps<itempattern>regexps<datepattern>!sort[]]
This lets me create a list of items in a selected "categorysection", sorted by the date/time stamps contained in the titles
it seems that Jeremy isn't quite satisfied as to "whether this is the best we can do for the core". He has suggested
that "this PR being made into a plugin, which is the best place for experimentation."
So, the follow up is: can we get this into the "Official TiddlyWiki Plugin Library"?
That would enable people who need this functionality to move forward, but also allow continued investigation
and exploration of alternative solutions for the TWCore. If, at some future date, this solution is superseded by
a different core solution, it can be retired from the Plugin Library in favor of that new core solution.
In the meantime, the regexps[] filter can be installed manually by copying the code from here:
and creating a tiddler with field module-type = "filteroperator"
-e