Perhaps the better option would be if we introduce to the standard search the ability to force a phrase by simply quoting it “This is a test” which would then make use of the search operators “literal” parameter
eg: {{{ [all[tiddlers]search::literal[This is a test]] -[<currentTiddler>] }}}.
The out of the box way to extend search is to use Customising search results
- I built this for you, place you
This is a Testin the sidebar search and click the down arrow, then the Search as Phrase tab. - In this case you don’t wrap it in quotes, the whole search is the literal string.
Custom Search as Phrase.json (426 Bytes)
This is so easy to do I made more to use with Projectify.