regexmatch on file.outlinks #621
-
Hi, I would like to perform a query with regexmatch on outgoing links, but I always receive all notes which do have outgoing links. This my query:
These are all files in my test vault: I would expect to get the green marked notes only, excluding the red marked ones. Is this an error with Dataview or do I miss something? Thank you for this great plugin! |
Beta Was this translation helpful? Give feedback.
Answered by
blacksmithgu
Nov 6, 2021
Replies: 1 comment 1 reply
-
I think this will work, or at least get closer to what you want:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
adueck11
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
file.name
instead ofname
to get the proper file name of a file, sincefile.outlinks
is a list of links.any(regexmatch(...))
, which checks that at least one outlink matched.I think this will work, or at least get closer to what you want: