Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16113
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Error in the manual regarding the '=~' operator |
| Date | 2020-04-09 09:40 -0400 |
| Organization | ITS, Case Western Reserve University |
| Message-ID | <mailman.407.1586439647.2644.bug-bash@gnu.org> (permalink) |
| References | <3eb0ef0951a447be9c1a3cbaca534486@cardcenter.ch> <c4f3efdb-2cef-8bc6-415b-84855267f39b@case.edu> |
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/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Error in the manual regarding the '=~' operator Chet Ramey <chet.ramey@case.edu> - 2020-04-09 09:40 -0400
csiph-web