From: Mattias EngdegÄrd Date: Fri, 21 Jun 2024 15:20:42 +0000 (+0200) Subject: ; eliminate backslash duplicate in regexp X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=296cdc8674deceb0d2d9b560e80dd26e0290e83c;p=emacs.git ; eliminate backslash duplicate in regexp * lisp/editorconfig-fnmatch.el (editorconfig-fnmatch--do-translate): Remove superfluous backslash. (cherry picked from commit 052d2cd2582dbdd3bb4d4e68d5f4dce588ed06e2) --- diff --git a/lisp/editorconfig-fnmatch.el b/lisp/editorconfig-fnmatch.el index cd040880434..397e424a6f7 100644 --- 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)