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


Groups > gnu.bash.bug > #14471

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

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups gnu.bash.bug
Subject Re: Extglob *?(a)b matches every string
Date 2018-08-13 09:29 -0400
Message-ID <mailman.5057.1534167002.1292.bug-bash@gnu.org> (permalink)
References <1895851534048016@iva7-7c2970ec7645.qloud-c.yandex.net>

Show all headers | 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