Auto saved by Logseq
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
icon:: ✂️
|
||||
|
||||
- #+BEGIN_QUERY
|
||||
{:title "Broken references"
|
||||
:query [:find (pull ?b [*])
|
||||
:in $ ?matcher
|
||||
:where [(re-pattern ?matcher) ?regex]
|
||||
[?b :block/content ?c]
|
||||
[(re-find ?regex ?c)]
|
||||
[?b :block/refs ?br]
|
||||
[(missing? $ ?br :block/content)]
|
||||
[(missing? $ ?br :block/name)] ]
|
||||
:inputs ["\\([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\\)"]
|
||||
:table-view? false}
|
||||
#+END_QUERY
|
||||
Reference in New Issue
Block a user