On 8/12/18 12:26 AM, Mark Polyakov wrote:

>    Bash Version: 4.3
>    Patch Level: 46
>    Release Status: release
>    A
>    Description:
>    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. I suspect there are a number of other extglob
>    patterns involving ?() that are buggy but have not tested extensively.
>    This *only* happens on 4.3. I have also tested 4.0, 4.2, and 4.4, all
>    of which parse the glob correctly.

Thanks for the report. As you noted, this was fixed in bash-4.4.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to