diff --git a/editions/prerelease/tiddlers/FilterOperator search.tid b/editions/prerelease/tiddlers/FilterOperator search.tid new file mode 100644 index 000000000..85910703a --- /dev/null +++ b/editions/prerelease/tiddlers/FilterOperator search.tid @@ -0,0 +1,17 @@ +created: 20140410103123179 +modified: 20140410103123179 +tags: Filters CommonFilters +caption: search +title: FilterOperator: search +type: text/vnd.tiddlywiki + +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. + +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" | +|`[search:caption[spaniel]]` |Returns a list of the tiddlers containing the text "spaniel" in their caption field | diff --git a/editions/tw5.com/tiddlers/filters/FilterOperator search.tid b/editions/tw5.com/tiddlers/filters/FilterOperator search.tid index 85910703a..a6e3c9f71 100644 --- a/editions/tw5.com/tiddlers/filters/FilterOperator search.tid +++ b/editions/tw5.com/tiddlers/filters/FilterOperator search.tid @@ -7,11 +7,8 @@ type: text/vnd.tiddlywiki 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. - 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" | -|`[search:caption[spaniel]]` |Returns a list of the tiddlers containing the text "spaniel" in their caption field |