Fix: (heading) Only match against heading text

It should not match against e.g. tags strings or to-do keywords.  Note
that the (regexp) predicate still matches against those, because it
searches entire entries, from heading stars to the next entry.
This commit is contained in:
Adam Porter 2019-09-11 22:02:14 -05:00
parent 5574f33682
commit f55fe7ef79
2 changed files with 7 additions and 2 deletions

View file

@ -488,6 +488,9 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
+ Predicate =heading= now accepts multiple regexps, which are matched with boolean =AND=.
+ Predicate =regexp= now matches its regexp arguments with boolean =AND=.
*Fixed*
+ Predicate =heading= now matches only against heading text, i.e. not including tags at the end of the line, to-do keyword, etc.
** 0.2.1
*Fixed*