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 c...@case.edu http://tiswww.cwru.edu/~chet/