Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14471

Re: Extglob *?(a)b matches every string

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: Extglob *?(a)b matches every string
Date Mon, 13 Aug 2018 09:29:27 -0400
Lines 10
Approved bug-bash@gnu.org
Message-ID <mailman.5057.1534167002.1292.bug-bash@gnu.org> (permalink)
References <1895851534048016@iva7-7c2970ec7645.qloud-c.yandex.net>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace usenet.stanford.edu 1534167003 16349 208.118.235.17 (13 Aug 2018 13:30:03 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org, bash@packages.debian.org
To Mark Polyakov <mark@markasoftware.com>
Envelope-to bug-bash@gnu.org
Mail-Followup-To Mark Polyakov <mark@markasoftware.com>, bug-bash@gnu.org, bash@packages.debian.org
Content-Disposition inline
In-Reply-To <1895851534048016@iva7-7c2970ec7645.qloud-c.yandex.net>
User-Agent NeoMutt/20170113 (1.7.2)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 139.137.100.1
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14471

Show key headers only | View raw


On Sat, Aug 11, 2018 at 09:26:56PM -0700, Mark Polyakov wrote:
>    Bash Version: 4.3
>    Patch Level: 46

>    A A A  An extglob pattern such as `*?(anything)something_else` will
>    match any string, even though it should only match strings that end
>    with something_else.

This appears to be fixed in bash 4.4.

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Extglob *?(a)b matches every string Greg Wooledge <wooledg@eeg.ccf.org> - 2018-08-13 09:29 -0400

csiph-web