> 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
(see http://www.TiddlyTools.com/faq.html#FAQ_RegularExpressions for
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to