Hello community. I’m seeking assistance with a regular expression I tried to build and would eventually like to use to define a workspace.
The intended behavior I’m seeking is, using the taskpaper syntax, filter all drafts that have open tasks. I use a daily draft to add and complete tasks. Sometimes tasks aren’t finished, and in these instances, I thought defining a workspace would be an ideal solution to show all drafts with open tasks. To achieve this, I figured a regex could easily match lines that contain a dash but do not have an @done or @things tag.
I seemingly built a working expression on Regex101. Here is an example. And, the regex
But, in Drafts, the regex returns no results when used in the search. I’m afraid I’ve reached the limit of my regex knowledge. I’m open to feedback about what I did wrong or could have done better. I’d greatly appreciate anyone who can offer their advice. Thanks so much!