Subject: bug#46115: M-x shell vs. echo 's/ +/'

From: 積丹尼 Dan Jacobson <[email-masked]>
Date: Wed, 27 Jan 2021 01:12:07 +0800

Funny colors seen when typing in
$ emacs -q -nw -f shell
$ echo 's/ +/'
s/ +/
But OK here:
$ echo 's/ \+/'
s/ \+/
emacs-version "27.1"
-nw: optional.