David Masterson <dsmaster...@gmail.com> writes: > So I have this form: > > :exclude "\(init\|calendar-beorg\).org" > > but that doesn't seem to work as I get an ignorable error in processing > calendar-beorg.org (a known Beorg issue). > > Is my regex wrong?
Yes. You got to escape the \ inside string. I recommend using `rx' instead to avoid the backslash hell. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>