From: Mattias EngdegÄrd Date: Fri, 21 Jun 2024 15:20:42 +0000 (+0200) Subject: ; eliminate backslash duplicate in regexp X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~957 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=052d2cd2582dbdd3bb4d4e68d5f4dce588ed06e2;p=emacs.git ; eliminate backslash duplicate in regexp * lisp/editorconfig-fnmatch.el (editorconfig-fnmatch--do-translate): Remove superfluous backslash. --- 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)