I'll be honest, it took me a while to figure out how to get the plugin code from your site, but I've installed it and been testing it, and it does everything I was hoping it would! Thanks! (I'll also be looking at it for ideas on how to implement another plugin I'm working on...)
-- Joe On Mar 1, 2:18 pm, Eric Shulman <[email protected]> wrote: > > What I would find very useful is if there was some way to implement > > globbing (http://en.wikipedia.org/wiki/Glob_%28programming%29) in > > the matching process so that matches between tiddler titles and tags > > would not have to be EXACT. For instance, a tiddler titled "reports- > > march-*" might match all tiddlers with a tag that starts with "reports- > > march-", like ""reports-march-03" and ""reports-march-09". > > The core's <<list filter [tag[tagvalue]]>> function generates lists of > tagged tiddlers but, as you noted, only does exact matches of a single > tag value... > > Fortunately, I've written: > http://www.TiddlyTools.com/#MatchTagsPlugin > > to extend the core's store.filterTiddlers() function (and a few other > bits and pieces) so that you can use full boolean syntax ("and", "or", > "not", with nested parens as needed) to join tag terms together into > complex conditionals: > > <<list filter [tag[foo and bar or (baz and mumble) or not gronk]]>> > > In addition, the individual tag 'terms' can be regular expresions text > patterns > (seehttp://www.TiddlyTools.com/faq.html#FAQ_RegularExpressionsfor > syntax) > > Thus, it becomes trivial to 'glob' a list of tagged tiddlers, like > this: > <<list filter [tag[reports-march-.*]]>> > or perhaps even something selective like: > <<list filter [tag[reports-(march|april|may)-.*]]>> > > enjoy, > -e > Eric Shulman > TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWikiDev?hl=en -~----------~----~----~----~------~----~------~--~---
