branch: externals/xr commit 77ad0d63dedd19f20426921ae1013bf99feed6b8 Author: Mattias Engdegård <matti...@acm.org> Commit: Mattias Engdegård <matti...@acm.org>
syntax and category always match non-empty, for bos/eos anchor check --- xr.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xr.el b/xr.el index c84895d..0f899fe 100644 --- a/xr.el +++ b/xr.el @@ -884,7 +884,7 @@ nil if RX only matches the empty string." (if (= n 0) (and (cl-some #'xr--matches-nonempty body) 'sometimes) (xr--tristate-some #'xr--matches-nonempty body))) - (`(,(or 'any 'not 'intersection) . ,_) 'always) + (`(,(or 'any 'not 'intersection 'syntax 'category) . ,_) 'always) ((or 'ascii 'alnum 'alpha 'blank 'cntrl 'digit 'graph 'lower 'multibyte 'nonascii 'print 'punct 'space 'unibyte 'upper 'word 'xdigit