Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: i686-pc-linux-gnu-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/loc
Ortwin wrote:
[[ "a b c" =~ "a (.) c" ]]
echo ${BASH_REMATCH[1]}
Recently, a change was made to cause quotes to suppress the special meaning
of regular expression characters in the right-hand side of =~. This is how
to do the above now:
[[ "a b c" =~ a\ (.)\ c ]]
I submitted a patch to t