Rewritten a as a search tool, not tested comprehensively but seems to work \define displaymysearch() <$list filter="[list[EditInput!!input]]" variable=item> <$list filter="[<item>!prefix[+]!prefix[-]]" variable=searchfilter> [search[<<searchfilter>>]] </$list> <$list filter="[<item>prefix[+]]+[removeprefix[+]]" variable=searchfilter> +[search[<<searchfilter>>]] </$list> <$list filter="[<item>prefix[-]]+[removeprefix[-]]" variable=searchfilter> -[search[<<searchfilter>>]] </$list> </$list> \end
<$edit-text tiddler=EditInput field="input"/> ;Instructions: :Place Text in search order; left to right: :space separated, :No leading + or - For include if so found :leading + for must include if so found :leading - for must exclude if so found :note: Logically + must proceed - in many cases :surround text `[[with spaces]]` like this? ;see [[EditInput]] :<<displaymysearch>> !!Matching tiddlers <$wikify name=setfilter text="<<displaymysearch>>"> <$macrocall $name="list-links" filter=<<setfilter>> /> </$wikify> Regards Tony On Friday, 29 December 2017 15:23:14 UTC+11, TonyM wrote: > > Tobaisch, > > Of course with sufficient desire you can build what you want in tiddlywiki. > > Basically accept an input then rework it to make the filter in tiddlywiki > terms. > > The Below code provides a tag based search with +include and -exclude > which could be adapted to search values > > \define displaymyfilter() > <$list filter="[list[EditInput!!input]]" variable=item> > <$list filter="[<item>!prefix[+]!prefix[-]]" variable=tagfilter> > [tag[<<tagfilter>>]] > </$list> > <$list filter="[<item>prefix[+]]+[removeprefix[+]]" variable=tagfilter> > +[tag[<<tagfilter>>]] > </$list> > <$list filter="[<item>prefix[-]]+[removeprefix[-]]" variable=tagfilter> > -[tag[<<tagfilter>>]] > </$list> > </$list> > \end > > <$edit-text tiddler=EditInput field="input"/> > > ;Instructions: > :Place Tags in search order; left to right: > :space separated, > :No leading + or - For include if so tagged > :leading + for must include if so tagged > :leading - for must exclude if so tagged > :note: Logically + must proceed - in many cases > :surround tags `[[with spaces]]` like this. > > see [[EditInput]] > > !!Matching tiddlers > <$wikify name=setfilter text="<<displaymyfilter>>"> > <$macrocall $name="list-links" filter=<<setfilter>> /> > </$wikify> > > > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0d77957e-6b98-4237-9309-170c44acb2ec%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

