On Monday, July 2, 2012 7:10:18 PM UTC-4, axelm wrote:
>
> That works great.
> Is there a wild character one can use?
It's an awesome plugin.
There are a couple of different ways to go about wildcard matching. For the
sake of example, Let's say you have seven daily tiddlers named
"MyMondayTiddler," "MyTuesdayTiddler," etc. and that you have individual
tiddlers that used those names as tags. You want to use YourSearchPlugin
to find "My*dayTiddler" (where * is a wildcard).
Because the plugin matches individual strings by default, the easiest way
might be to search what's on either side of the wildcard:
!My !dayTiddler
would find tiddlers whose title contained both the strings "My" and
"dayTiddler" -- which would give you all seven tiddlers as results. By the
same token,
#My #dayTiddler
would do the same with tags
Even better, YourSearchPlugin supports regular expresssions, as long as you
enclose your regexp in slashes -- so you could use a regexp wildcard
pattern:
!/My.*?dayTiddler/
With regexp, your searches can get wildly specific.
(For those unfamiliar with regexp, ".*?" is the equivalent of a wildcard.
The "." matches any single character, the "*" tells it to match it as many
times as possible (zero or more times), and the "?" says to stop when you
reach whatever comes next.)
In case you didn't get the YourSearchHelp tiddler when you installed the
plugin, be sure to check it out here:
http://tiddlywiki.abego-software.de/#%5B%5BYourSearch%20Help%5D%5D
One of my favorite plugins -- SO versatile. :)
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/tiddlywiki/-/2pWNdRKqu4cJ.
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/tiddlywiki?hl=en.