Ngungu
1
This syntax does not work anymore:
#+BEGIN_QUERY
{:title [:h3 "Word search — case insensitive"]
:query
[:find (pull ?b [*])
:in $ ?input
:where
[(str "(?i)" ?input) ?pattern]
[?b :block/content ?c]
[(re-pattern ?pattern) ?q]
[(re-find ?q ?c)]]
:inputs ["mysearchterm"]
}
#+END_QUERY
It used to work till recently. I am on version 0.10.1 (75).
I’m also using 0.10.1 and it’s working fine.
What do you mean with not working? e.g no result, error, …
1 Like
Ngungu
3
Welcome to the forum, Maarten.
Sorry, I was not clear. I meant is says “No matched result” when I know the term is there.
For others to properly test it, please provide both:
- the exact search term
- an example block that should match
Ngungu
5
Any word or combination of words will do as the search term. In other words, add the code I gave above and search for any word you have in your graph.
As already stated, it works normally, it brings the results.
Ngungu
7
Right so that means the issue is on my side, yet another one.