From 296cdc8674deceb0d2d9b560e80dd26e0290e83c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Fri, 21 Jun 2024 17:20:42 +0200 Subject: [PATCH] ; eliminate backslash duplicate in regexp * lisp/editorconfig-fnmatch.el (editorconfig-fnmatch--do-translate): Remove superfluous backslash. (cherry picked from commit 052d2cd2582dbdd3bb4d4e68d5f4dce588ed06e2) --- lisp/editorconfig-fnmatch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2