created: 20150117152607000 modified: 20150228114306000 title: $:/editions/tw5.com/operator-macros tags: $:/tags/Macro \define .operator-examples(op,text:"Examples") <$link to="$op$ Operator (Examples)">$text$$link> \define .operator-example-tryit-actions() <$action-setfield $tiddler=<<.state>> text="show" filter=<<__eg__>>/> \define .operator-example(n,eg,ie)
$reveal> $list> \end \define .inline-operator-example(eg)<$list filter={{{[<.state>get[filter]]}}} emptyMessage="(empty)">
- <$link><$view field="title"/>$link>
$list>
<$text text=<<__eg__>>/>
evaluates to <$list filter=<<__eg__>> emptyMessage="(empty)"> <$text text=<>/>
$list>
\end
\define .this-is-operator-example() This example tiddler is used to illustrate some of the [[Filter Operators]].
\define .using-days-of-week() These examples make use of the [[Days of the Week]] tiddler.
\define .s-matching-is-case-sensitive() In looking for matches for <<.place S>>, capital and lowercase letters are treated as different.
\define .node-only-operator()
<$macrocall $name=".note" _="This operator is <<.em not>> available when ~TiddlyWiki is running in a web browser."/>
\end