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 / itvi...@iki.fi

Reply via email to