QOwnNotes
QOwnNotes copied to clipboard
Search or create note: search one whole word
It's a niche case and a minor inconvenience, but just to catalog it...
Expected behaviour
"Search or create note:"
Searching for whole word using double quotes "word"
should return results/notes containing the word as a whole.
Actual behaviour
"Search or create note:"
Searching for whole word using double quotes "word"
returns results/notes containing the word as a whole AND as a part of bigger words.
It works as intended when searching for two, three, words / whole phrase
e.g. "word1 word2"
Steps to reproduce
e.g. search for notes containing the diff
command
Searching for "diff"
returns diff
as a whole word and as part of different
, indifferent
, etc.
Current solution
e.g. searching for notes containing the diff
command
Search for " diff "
(space before and after the word).
Note: In this case, you cannot find "diff" as part of a path (path/diff/*
, path/diff-*/*
) or part of a filename (diff.*
, *.diff
) or inside markdown decorations (*
, **
, etc.).
Thank you for your suggestion.