mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-11 23:09:42 +00:00
![Myeongjin](/assets/img/avatar_default.png)
* Add string '.htm' to 'Saving with TiddlyIE' * Change external links to match locale with wiki language * Add instructions for use to 'Saving on Android' * Change string in 'task' * Change instructions for use in 'Saving on iPad/iPhone' * Add newline to 'TiddlyDesktop Releases' * Remove caption from 'Serving TW5 from Android' * Change link to external in tiddlers which tagged 'Editions' * Remove string 'index.html' from 'Some of the things you can do with TiddlyWiki' * Change link 'TiddlyWiki Groups' to 'Forums' in tiddlers which tagged 'Community' * Remove CamelCase link 'TiddlyWiki' from tiddlers tagged 'Community' * Change string 'done' to 'Upgrade' in 'UpgradeMechanism' * Change buttons to images in 'How to export tiddlers' * Add images about buttons to tiddlers * Add quotation mark to text 'edit' in 'Signing the Contributor License Agreement' * Rename 'UsingSVG' to 'Using SVG' * Change link 'TypedBlockWikiText' to 'Typed Blocks in WikiText' in 'Using SVG' * Add tiddler 'Using Stamp' * Add 'rel="noopener noreferrer"' to external links * Add description about 'rel="noreferrer"' to 'HTML in WikiText' * Add link of prerelease version about translators edition, and how to translate on Node.js, in 'Translate TiddlyWiki into your language' * Change string 'dropdown' to 'tab' in 'Installing a plugin from the plugin library' * Add download button to 'Empty Edition'
29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
created: 20150124182421000
|
|
modified: 20150124184900000
|
|
tags: [[Filter Syntax]]
|
|
title: Filter Expression
|
|
type: text/vnd.tiddlywiki
|
|
|
|
<$railroad text="""
|
|
[{:
|
|
[: [[whitespace|"Filter Whitespace"]] ]
|
|
("+"|:-|"-")
|
|
[[run|"Filter Run"]]
|
|
}]
|
|
"""/>
|
|
|
|
A <<.def "filter expression">> is the outermost level of the [[filter syntax|Filter Syntax]]. It consists of one or more [[runs|Filter Run]].
|
|
|
|
A run's input is normally a list of all the non-[[shadow|ShadowTiddlers]] tiddler titles in the wiki (in no particular order). But the `+` prefix can change this.
|
|
|
|
* If a run has no `+` or `-` prefix, its output titles are [[dominantly appended|Dominant Append]] to the filter's output.
|
|
* If a run has a `-` prefix, its output titles are <<.em removed>> from the filter's output (if they were present).
|
|
* If a run has a `+` prefix, it receives the filter's output so far as its input. The filter's output is then completely <<.em replaced>> by the run's output. Any subsequent run reverts to receiving all tiddler titles as its input, unless it too has a `+` prefix.
|
|
|
|
In concise technical terms:
|
|
|
|
|!Run |!Interpretation |!Output |
|
|
|`run` |union of sets |... OR run |
|
|
|`+run` |intersection of sets |... AND run |
|
|
|`-run` |difference of sets |... AND NOT run |
|