From: Andreas Schwab Date: Sat, 13 Jul 2019 21:59:31 +0000 (+0200) Subject: Revert "Fix typo in sh-assignment-regexp" X-Git-Tag: emacs-27.0.90~1938 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3767628dc534e64cdc21bdff16d5dd4726feacd2;p=emacs.git Revert "Fix typo in sh-assignment-regexp" This reverts commit 194f370a3da72d560975adc2835254ce251881a7. --- diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 64608f1930f..ae90531a7fe 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -582,7 +582,7 @@ This is buffer-local in every such buffer.") ;; actually spaces are only supported in let/(( ... )) (ksh88 . ,(concat "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?" "[ \t]*\\(?:[-+*/%&|~^]\\|<<\\|>>\\)?=")) - (bash . "\\<\\([[:alnum:]_]+\\)\\([.+]\\)?\\+?=") + (bash . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?\\+?=") (rc . "\\<\\([[:alnum:]_*]+\\)[ \t]*=") (sh . "\\<\\([[:alnum:]_]+\\)=")) "Regexp for the variable name and what may follow in an assignment.