emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/xr 1932e3d 7/9: Avoid ambiguous regexp (relint/xr compl


From: Mattias Engdegård
Subject: [elpa] externals/xr 1932e3d 7/9: Avoid ambiguous regexp (relint/xr complaint)
Date: Sat, 29 Feb 2020 17:22:12 -0500 (EST)

branch: externals/xr
commit 1932e3d9b384ee58388045055a05ffb384e8d369
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>

    Avoid ambiguous regexp (relint/xr complaint)
---
 xr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xr.el b/xr.el
index 90c6384..d1f481d 100644
--- a/xr.el
+++ b/xr.el
@@ -646,7 +646,7 @@ UPPER may be nil, meaning infinity."
          ;; accept any not otherwise handled character after the backslash
          ;; since such sequences are found in the wild.
          ((looking-at (rx "\\" (group (or (any "\\*+?.^$[]")
-                                          (group anything)))))
+                                          (group (not (any "\\*+?.^$[]")))))))
           (forward-char 2)
           (push (match-string 1) sequence)
           (when (match-beginning 2)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]