branch: elpa/cider
commit 1378a72b3b9de7d6d11e5a54dc327f83a53b404b
Author: yuhan0 <[email protected]>
Commit: yuhan0 <[email protected]>
Refactor an rx form
---
cider-eval.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/cider-eval.el b/cider-eval.el
index 31597a6a67..366207a1bb 100644
--- a/cider-eval.el
+++ b/cider-eval.el
@@ -564,10 +564,8 @@ It delegates the actual error content to the eval or op
handler."
;; See `cider-compilation-regexp' for interpretation of match groups.
(defconst cider-clojure-1.10--location
'(sequence
- (or "at ("
- (sequence "at "
- (minimal-match (one-or-more anything)) ;; the
fully-qualified name of the function that triggered the error
- " ("))
+ "at " (minimal-match (zero-or-more anything)) ;; the fully-qualified name
of the function that triggered the error
+ "("
(group-n 2 (minimal-match (zero-or-more anything))) ; source file
":" (group-n 3 (one-or-more (any "-" digit))) ; line number, may be
negative (#3687)
(optional