Nathan Neff writes:
> I'm having a difficult time using regular expressions in custom
> "tags-todo" agenda views.
>
> Is it possible to create custom agenda views using regular expressions,
> and if so, do I need to escape certain characters?
>
> I can't get a simple regex like this to work, so I'm suspecting that
> I'm doing something wrong or, it's simply not possible to create custom
> agenda views that use regular expressions to search for tags.
>
> For example, this expression doesn't even find headings with :projectA:
> as a tag
>
> (setq org-agenda-custom-commands
> '(
> ("1" tags-todo "{projectA}")))
My understanding is that the above should work. I tried your
org-agenda-custom-commands value with this agenda file:
* TODO a :projectA:
* TODO b :projectB:
* TODO c :project:
With an otherwise vanilla configuration and master (0c1740c91) checked
out, I see
Headlines with TAGS match: {projectA}
Press ‘C-u r’ to search again
scratch: TODO a :projectA:
I see the same thing on maint (3ed035ce3).
Thanks - I'm using Org 9.3.6 and I'm getting no matches when using emacs -q
I had some other issues w/regexes and Bastien fixed them in "maint":
Is it relatively easy to try org-mode's "maint" version (e.g. just check out branch from
Thanks,
--Nate