[tw5] Re: Search the values of fields where field names are generated?

2020-08-29 Thread amreus
Yes Eric that is exactly what I meant. It's basically a location search for common gedcom tags (which are not the same as TiddlyWiki tags.) Thanks so much for the examples. I have been reading about macros but I still don't think I grasp them fully yet. However, though experimentation I

[tw5] Re: Search the values of fields where field names are generated?

2020-08-29 Thread Eric Shulman
On Saturday, August 29, 2020 at 11:24:46 AM UTC-7, Eric Shulman wrote: > > \define searchflds() {{{ [search:$(flds)$[query]] }}} > > <$list filter="[fields[]regexp[_plac$]]" variable="flds"> > <> > > Addendum: The above code will work, but... it searches for each field name separately. As a

[tw5] Re: Search the values of fields where field names are generated?

2020-08-29 Thread Eric Shulman
On Saturday, August 29, 2020 at 10:31:20 AM UTC-7, amreus wrote: > > I would like to search all my tiddler's fields that match a regexp > /_plac$/ > <$list filter="[fields[]regexp[_plac$]]" variable="flds"> > {{{ > [search:<>[query]] > }}} > > If I understand your goal correctly, you want to

[tw5] Re: Search the values of fields where field names are generated?

2020-08-29 Thread amreus
Here's is the actual filter. I thought maybe the join is more correct with the search operator: [image: 2020-08-29_140459.png] On Saturday, August 29, 2020 at 2:01:16 PM UTC-4 amreus wrote: > I thought to reverse it also - that is search all fields for the term and > then filter the titles by

[tw5] Re: Search the values of fields where field names are generated?

2020-08-29 Thread amreus
I thought to reverse it also - that is search all fields for the term and then filter the titles by the selected fields, but I didn't have any luck with that filter syntax. It's possible I just haven't typed the filters correctly. On Saturday, August 29, 2020 at 1:56:14 PM UTC-4 amreus

[tw5] Re: Search the values of fields where field names are generated?

2020-08-29 Thread amreus
It is true I am still having difficulty with the appropriate contexts and meanings of the various types and amounts of brackets. But alas, it did not work. On Saturday, August 29, 2020 at 1:51:08 PM UTC-4 Mark S. wrote: > It will probably work if you just change <> to inside the > internal

[tw5] Re: Search the values of fields where field names are generated?

2020-08-29 Thread 'Mark S.' via TiddlyWiki
It will probably work if you just change <> to inside the internal filter. Inside of filters, variables use single angle brackets. Outside filters, double angle brackets. On Saturday, August 29, 2020 at 10:31:20 AM UTC-7, amreus wrote: > > > I would like to search all my tiddler's fields that