From f3365d2ce290fa3192b8cf95247569ffc8bdd610 Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 11 May 2022 23:21:33 +0200 Subject: [PATCH] Updated Search (markdown) --- Search.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Search.md b/Search.md index 3f40e0c..c200f4d 100644 --- a/Search.md +++ b/Search.md @@ -29,6 +29,8 @@ `~author.title *=* Tolkien` - find notes which have relation "author" which points to a note with title containing word "Tolkien" +`#publicationYear %= '19[0-9]{2}' - operator '%=' matches a regular expression (regex). Since Trilium 0.52 + ## Advanced use cases `~author.relations.son.title = 'Christopher Tolkien'` - This will search for notes which have “author” relation to a note which has a “son” relation to “Christopher Tolkien” note. This situation can be modeled by this note structure: