]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix typo in sh-assignment-regexp"
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 13 Jul 2019 21:59:31 +0000 (23:59 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 13 Jul 2019 21:59:51 +0000 (23:59 +0200)
This reverts commit 194f370a3da72d560975adc2835254ce251881a7.

lisp/progmodes/sh-script.el

index 64608f1930f4c1e1ec1eadd96797b0566342c8c0..ae90531a7fefafc40b1556562d13dae00191d0ce 100644 (file)
@@ -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.