On Friday, July 31, 2020 at 2:55:28 PM UTC-7, Rafael Oliveira wrote: > > 1- A search that get all tiddlers that have a specific word inside the > title ( In a regular expression it'd be something like "^.*word.*$"). Let's > say the name of the tiddler is "create icons on tiddlywiki", if I search > the word "icons" it'd appear in the list. The [prefix[]] syntax seems to > work only with words that are at the beginning and the [title[]] syntax > gets tiddlers exactly as they are. Is there additional syntax that I can > use with those prefixes? > [search:title[word]]
> 2- A way of searching tiddlers that have a specific word inside their body > instead of their title. I'm assuming that tiddlywiki already has something > like that because when I do a simple search on the main page bar I can see > that TW differentiates words in the title from words in the body... > [search:title[word]] > 3- A way of searching tiddlers that have a specific word inside their body > or title. > [search:text,title[word]] 4- A way of using the AND logic to filter tiddlers that have two or more > words at the same time ( Something like: [prefix[word1]&&[prefix[word2]] ) > [search:title[word1]search:title[word2]] also... for an OR search: [search:title[word1]] [search:title[word2]] To help you further understand the search[] filter, I recommend you view my PowerSearch "filter generator", here: http://tiddlytools.com/filtergenerators.html#TiddlyTools%2FFilterGenerators%2FPowerSearch Using this form, you can easily select from various search-related filter options including: * choose what to search (tiddler, shadows, system, orphans, etc.) * match a title prefix and/or suffix * match a tag value * choose which fields to search (default is "title, text, tags") * modify the search using flags (default is "words") * sorting options (title, created, or modified) * the actual search term (text to look for) As you select the options, PowerSearch constructs the corresponding filter syntax for you and shows the results in a multi-column list below There are also buttons to export or delete all the matching tiddlers, and you can also click on the generated filter syntax to directly copy it to the clipboard, so you can easily paste it into your own document. Note: if you want to install the PowerSearch in your own document, just drag-and-drop these two tiddlers: *TiddlyTools/FilterGenerators/PowerSearch* and *TiddlyTools/Macros/edit-list* PowerSearch is already tagged with "$:/tags/AdvancedSearch" so it will automatically be added as an extra tab in the $:/AdvancedSearch tiddler. This allows you to get quick access to the form just by clicking the magnifying glass icon in the standard TiddlyWiki sidebar. enjoy, -e -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b54810bc-5d7b-4e51-95c9-63434adeefa5o%40googlegroups.com.

