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


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

Re: Documentation Bug Concerning Regular Expressions?

Started byIlkka Virta <itvirta@iki.fi>
First post2019-09-23 20:55 +0300
Last post2019-09-23 20:55 +0300
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: Documentation Bug Concerning Regular Expressions? Ilkka Virta <itvirta@iki.fi> - 2019-09-23 20:55 +0300

#15420 — Re: Documentation Bug Concerning Regular Expressions?

FromIlkka Virta <itvirta@iki.fi>
Date2019-09-23 20:55 +0300
SubjectRe: Documentation Bug Concerning Regular Expressions?
Message-ID<mailman.921.1569261353.2190.bug-bash@gnu.org>
On 23.9. 19:56, Hults, Josh wrote:
> Hello Bash Maintainers,
> 
> In the currently posted version of the Bash documentation, there is a section regarding Conditional Constructs (3.2.4.2, https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Conditional-Constructs).  Within that section is a portion discussing the [[ ... ]] operator, and within that portion is a discussion of the "=~" regex operator.
> 
> The example given of a regex pattern is:  [[ $line =~ [[:space:]]*?(a)b ]].  (This example is referenced twice)

Yes, that exact example has been discussed for a couple of days, 
starting at this message from last Friday:

https://lists.gnu.org/archive/html/bug-bash/2019-09/msg00042.html


-- 
Ilkka Virta / itvirta@iki.fi

[toc] | [standalone]


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


csiph-web