From 052d2cd2582dbdd3bb4d4e68d5f4dce588ed06e2 Mon Sep 17 00:00:00 2001 From: Mattias EngdegÄrd Date: Fri, 21 Jun 2024 17:20:42 +0200 Subject: ; eliminate backslash duplicate in regexp * lisp/editorconfig-fnmatch.el (editorconfig-fnmatch--do-translate): Remove superfluous backslash. --- lisp/editorconfig-fnmatch.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp') 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) -- cgit v1.2.1