[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error in the manual regarding the '=~' operator
From: |
Chet Ramey |
Subject: |
Re: Error in the manual regarding the '=~' operator |
Date: |
Thu, 9 Apr 2020 09:40:35 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 4/9/20 7:19 AM, Guebitz Roland wrote:
> Hello,
> in the section
> https://www.gnu.org/software/bash/manual/bash.html#Conditional-Constructs
> you have this example:
> [[ $line =~ [[:space:]]*?(a)b ]]
> The expression ?() is not part of the Posix ERE. It is part of bash pattern
> matching: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching
Thanks for the report. This was fixed in the devel branch last September,
the result of
https://lists.gnu.org/archive/html/bug-bash/2019-09/msg00042.html
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/