1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 03:03:18 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/FilterOperator search.tid

18 lines
843 B
Plaintext
Raw Normal View History

2014-04-10 18:56:51 +00:00
created: 20140410103123179
2014-11-26 11:22:20 +00:00
modified: 20140410103123179
2014-09-10 22:42:13 +00:00
tags: Filters CommonFilters
caption: search
2014-04-10 18:56:51 +00:00
title: FilterOperator: search
type: text/vnd.tiddlywiki
2014-11-26 11:22:20 +00:00
The ''search'' filter operator filters the current list to leave only those tiddlers that include the operand text in their title, body or tags. Preceding the operator with `!` returns all tiddlers that do not include the specified text. The search is case-insenstive.
Optionally, a field can be specified to restrict the search.
2014-04-10 18:56:51 +00:00
For example:
|!Filter String |!Description |
|`[search[alsatian]]` |Returns a list of the tiddlers containing the text "alsatian" |
|`[all[shadows]search[alsatian]]` |Returns a list of the shadow tiddlers containing the text "alsatian" |
2014-11-26 11:22:20 +00:00
|`[search:caption[spaniel]]` |Returns a list of the tiddlers containing the text "spaniel" in their caption field |