bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation Bug Concerning Regular Expressions?


From: Ilkka Virta
Subject: Re: Documentation Bug Concerning Regular Expressions?
Date: Mon, 23 Sep 2019 20:55:41 +0300
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]