parameter link points to https://tiddlywiki.com/#Filter%20Parameter . My use case is the first one - hard - since I’m experimenting with a handwritten filter in $:/AdvancedSearch -> Filter.
TiddlyWiki tends not to use escaping in the traditional manner of a programming language. My original thinking was that escaping was complex and often caused problems for experienced programmers, and so it wasn’t a good match for TiddlyWiki target users. The workaround is to define a separate function or procedure containing the text [[JeremyRuston]], and then reference that within the filter.
One of our long term goals is to figure out a syntax for defining local variables within a filter which will make things like this a bit easier.
If I understand you correctly, you’re suggesting to use an intermediary step instead of using $:/AdvancedSearch -> Filter directly? As in create a tiddler, a variable with value “[[JeremyRuston]]”, then just reference it in the filter using <var> syntax? Fortunately, this shouldn’t be hard.
@vuk when setting a variable to a string as in your example you can use define, procedure pragma but also $set, $vars and the best $let
\procedure tiddler-title() [[JeremyRuston]]
and use `<tiddler-title>` in your filters
or
<$let tiddler-title="[[JeremyRuston]]">
and use `<tiddler-title>` in your filters
</$let>
However;
There are otherways to populate fields, lists and handle titles that handle the use of [[name with spaces]] namewithoutspaces including but not limited to the listops action widget.