On Monday, September 28, 2020 at 9:48:20 AM UTC-7, Jean-Pierre Rivière 
wrote:
>
> @Eric
> I don't understand the [[/$tref$]] construct inside a filter. From the 
> doc, I see that [...] is a filter run. A filter run is made of step and 
> each step is essentially a parameter eventually preceded by ! and/or an 
> operator (with eventual : suffixes). No suare breacket within a step. I 
> heve not read that a run can directly contain a run. So I cannot understand 
> how [[/$ref]] may occur within a filter. I4m also finding strange a step 
> without operator but with an operand (parameter) and the text seems to be 
> ofg the same advice but as far as I read the railroad schema, this may very 
> well happen (no idea of an example for me).
>
> I don't say you're wrong, I'm just saying I don't see how I could have 
> understood that from the official documentation.
>

This is explained in https://tiddlywiki.com/#Filter%20Step

The step's operator is drawn from a list of predefined keywords 
> <https://tiddlywiki.com/#Filter%20Operators>, which can be extended by 
> plugins.
> Any unrecognised operator is treated as if it was the suffix to the field 
> <https://tiddlywiki.com/#field%20Operator> operator.
> If a step's operator is omitted altogether, it defaults to title.


Thus, [[text here]] *is* a filter run containing one filter step that is 
equivalent to [title[text here]].
Note that you can also specify a filter run that defines literal text 
values by using quotes,
as described in https://tiddlywiki.com/#Filter%20Run

The lower three options in the diagram match syntax like HelloThere, 
> "HelloThere", 'HelloThere' and "Filter Operators".
>
They are short for [title[...]].
>
> The quoted options exist to support titles that contain square brackets, 
> as in "An [[[[Unusual]]]] Tiddler".
>

-e

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6ccfb80f-801f-4e25-a76f-082642e1d6b7o%40googlegroups.com.

Reply via email to