projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bc76db
)
; eliminate backslash duplicate in regexp
author
Mattias Engdegård
<mattiase@acm.org>
Fri, 21 Jun 2024 15:20:42 +0000
(17:20 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Fri, 21 Jun 2024 15:20:42 +0000
(17:20 +0200)
* lisp/editorconfig-fnmatch.el (editorconfig-fnmatch--do-translate):
Remove superfluous backslash.
lisp/editorconfig-fnmatch.el
patch
|
blob
|
history
diff --git
a/lisp/editorconfig-fnmatch.el
b/lisp/editorconfig-fnmatch.el
index cd04088043477c5133973a3eb19fdc336793a383..397e424a6f7487c22a915116bc299e3f5dda5762 100644
(file)
--- a/
lisp/editorconfig-fnmatch.el
+++ b/
lisp/editorconfig-fnmatch.el
@@
-146,7
+146,7
@@
translation is found for PATTERN."
(while (< index length)
(if (and (not is-escaped)
- (string-match "[^]\\*?[{},/
\\
-]+"
+ (string-match "[^]\\*?[{},/-]+"
;;(string-match "[^]\\*?[{},/\\-]+" "?.a")
pattern
index)