Subject: Re: bug#18405: 24.3.93; bat-mode.el

From: Stefan Monnier <[email-masked]>
Date: Thu, 04 Sep 2014 16:39:25 -0400

>         ("%\\([^%]+\\)%?"
>          (1 font-lock-variable-name-face))
>         ("!\\([^!%]+\\)!?"                ; delayed-expansion !variable!
>          (1 font-lock-variable-name-face))

I know nothing of cmd.exe's syntax and the general thrust of the change
sounds good, but: the above matches "%foo\nbar", which is probably not
right.  When can variable refs be of the form %name or !name
(i.e. without the terminating % or !)?

        Stefan