> I downloaded TiddlyWiki some time ago and sice then I have been
> wondering. Why is the order of words relevant when searching? This
> means when I search for say "Term1 Term2" I get 2 hits. But when I
> search vor "Term2 Term1" I will get only 1 hit.

Straight out of the box, TiddlyWiki does not do "keyword" searches...
rather, it does "full text" searches.  Thus, "Term1 Term2" is not the
same as "Term2 Term1", just as "John Smith" is different from "Smith
John".

> Can anyone tell me how I can switch the wiki to search for all the
> words in my query and neglect the order of the words?

First, open [[AdvancedOptions]] and select the "Enable regular
expressions for searches" checkbox.  With this option set, you can
then enter multiple search terms in the search input field by
separating them with "|" (which means "or"), like this:
   term1|term2|term3
Regular expression syntax (aka, text patterns) can also be used to
search for 'wildcard' text, like this:
   some.*thing
The ".*" means "0 or more characters", so the above text pattern will
match anything that starts with "some" and ends with "thing".

In addition to the above syntax, regular expressions have lots of
other special sequences that can be used to construct very complex and
varied patterns to be matched.  In fact, regular expression text
patterns are so powerful that the TiddlyWiki core's wikify() function
uses them to recognize, process and render all the wiki-syntax in your
tiddler content.

For an overview of the various syntax elements that can be used within
regular expressions, see:
   http://www.TiddlyTools.com/#FAQ_RegularExpressions

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to