Revert "Fix typo in sh-assignment-regexp"

This reverts commit 194f370a3d.
This commit is contained in:
Andreas Schwab 2019-07-13 23:59:31 +02:00
parent ed29d9fe52
commit 3767628dc5

View 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.