bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31710: 26.1; sh-mode doesn't highlight aliases with dots correctly


From: Andreas Schwab
Subject: bug#31710: 26.1; sh-mode doesn't highlight aliases with dots correctly
Date: Sun, 14 Jul 2019 00:00:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)

On Jul 13 2019, Lars Ingebrigtsen <address@hidden> wrote:

> Andreas Schwab <address@hidden> writes:
>
>>> -    (bash . "\\<\\([[:alnum:]_]+\\)\\(\\[.+\\]\\)?\\+?=")
>>> +    (bash . "\\<\\([[:alnum:]_]+\\)\\([.+]\\)?\\+?=")
>>
>> That doesn't make sense.  A dot or a plus isn't a valid character in a
>> shell variable.
>
> No, but this is the assignment regexp:

Yes, that's why it doesn't make sense.

> I'm guessing .= has the same meaning in some other shell dialect...

.= has no meaning.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]