[tw5] Re: filter expression for text??

2018-05-03 Thread Eric Shulman
On Thursday, May 3, 2018 at 12:02:41 AM UTC-7, HC Haase wrote:
>
> @Mark S
> thanks that worked. As this is a quite a basic search, but useful with 
> other filters (not only i the standard search) I think this should at least 
> be included in the drop-down suggestions in the filer search. This operator 
> was unknown to me despite I have used TW5 for years.
>

To add your own filters to the drop-down:

1) Create a new tiddler (e.g. "SomeName") tagged with "$:/tags/Filter"
2) add a "description" field containing "My Filter")
3) add a "filter" field containing "[search:text[MYSEARCHTEXT]]")
4) add a "list-before" field (leave it with a blank value)

The tag indicates that this is an entry for the filter drop-down.
The description is the text that appears in the drop-down.
The filter is the text to insert into the filter input field when the 
drop-down item is selected
The list-before field (with NO value) forces your custom filter to the top 
of the list (otherwise it would be at the end of the list)

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki: The Missing Manuals

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/505547e9-053e-4ab1-bd9d-fccdd04537b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: filter expression for text??

2018-05-03 Thread HC Haase
@Mark S
thanks that worked. As this is a quite a basic search, but useful with 
other filters (not only i the standard search) I think this should at least 
be included in the drop-down suggestions in the filer search. This operator 
was unknown to me despite I have used TW5 for years.

@Diego Mesa
I agree... or at least make it very easy for the average Joe to do some 
search and filtering (e.g. the drop-down filter suggestions). 


-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/4eaaee68-e2ad-428e-9674-626c5cdd396e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: filter expression for text??

2018-05-02 Thread 'Mark S.' via TiddlyWiki
It sounds like you want the search operator 
(https://tiddlywiki.com/#search%20Operator)

like ...search:text[MYSEARCHTEXT]...

-- Mark

On Wednesday, May 2, 2018 at 1:43:03 AM UTC-7, HC Haase wrote:
>
> this is driving me crazy. so simple request but so hard to get working.
>
> I have many tiddlers whit the same snippet of text, I want to find them 
> and give them a tag (using the bachmanipulator or Batch search and replace 
> field contents plugin).
>
> *in the standard search you can search in tiddler text whitout it having 
> to be a exact match. How do I do that with a filter??* I want to find 
> tiddlers that have a snippet of text (but maybe other text) and do not have 
> tag x.
>
> thanks
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/a04814ef-1070-41cb-89d8-35aab19325ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: filter expression for text??

2018-05-02 Thread Diego Mesa
I think searching needs a huge overhall in TW!!! 

On Wednesday, May 2, 2018 at 7:56:58 AM UTC-5, TonyM wrote:
>
> HC,
>
> Its late here (Sydney) so I can only give some quick tips.
>
> At tiddlywiki.com search for filter operators and have a look at the 
> search operator and if your game using regex.
>
> Also remember you can next $list widgets so the outercould search for 
> tiddlers with text and the inner could filter out those without your 
> desired tag so you apply two different filters.
>
> <$list 
><$list
>
> 
> 
>
> When you are more expierenced you may be able to combine them into a 
> single filter.
>
> Eg [[first filter]] -[tag[tagname]
>
> I hope this helps
> Tony
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/f47f556a-e2e3-4e71-8d62-3b27e2aa5cb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.