The above query doesn’t take into account “http://” and it only searches blocks that start with “https://”…
Ideally, I want to search the whole block for one or more instances of a url and return those. If this is not possible than at least return a url in the block if one is found (again looking through the entire block).
I’ve looked at various fragments of documentation on Datalog and tutorials, but been unable to figure out how to accomplish this. Hope someone here is more well versed in Datalog/querying, as this seems to make up half of what Logseq is all about.
…but realised I also need to look for links not just in the beginning, but also throughout a block…
Don’t find the query language that easy to get into
Thanks, sorry. Not understanding enough of it and went back to my original when I couldn’t get it to work. Replacing with what you wrote give me all of it. Thanks