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


Groups > gnu.bash.bug > #16113 > unrolled thread

Re: Error in the manual regarding the '=~' operator

Started byChet Ramey <chet.ramey@case.edu>
First post2020-04-09 09:40 -0400
Last post2020-04-09 09:40 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Error in the manual regarding the '=~' operator Chet Ramey <chet.ramey@case.edu> - 2020-04-09 09:40 -0400

#16113 — Re: Error in the manual regarding the '=~' operator

FromChet Ramey <chet.ramey@case.edu>
Date2020-04-09 09:40 -0400
SubjectRe: Error in the manual regarding the '=~' operator
Message-ID<mailman.407.1586439647.2644.bug-bash@gnu.org>
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/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web