Files
logseq/pages/BrokenReferences.md
T
2025-06-02 17:15:13 +02:00

407 B

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