Hi @usaradark,
I had the same problem.
e.g. this line:
- [ ] Line 1: as asfasdf asdf asd fas df asdf asd fa sdf asd fasd f asdf asd fasd fasd f asdf sdf asdf asd f #tag1 asd fasd fa sdf asdf asd fas dfas df as fasd fasd fas df asd fasd fasd fasd fs #tag2
if you do the search query “line:(/- [ ]/ #tag1 #tag2)”, you will get 3 hits.
After some try and error I found the following solution:
“line:(/- [ ].*/ #tag1 #tag2)” returns only 1 hit.
I don’t know why, perhaps someone knows the reason?
BR
Hubert
** Edit ** the reason why I don’t want to include the tags into the regex is, that you would have to keep track of the correct ordering if you use more than one tag in a line. With the combination of regex and tags fulltext search you can have many tags in any order and search will find it.