regexp matching broken in bash-3.2.x?

2007-10-27 Thread Pavel Gorshkov
Configuration Information [Automatically generated, do not change]: Machine: i386 OS: freebsd6.2 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -DCONF_OSTYPE='freebsd6.2' -DCONF_MACHTYPE='i386-unknown-freebsd6.2' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale'

Re: regexp matching broken in bash-3.2.x?

2007-10-27 Thread Bernd Eggink
Pavel Gorshkov schrieb: Description: Regexp matching seems to be broken since 3.2.0. Repeat-By: The following used to work in bash-3.1: $ [[ test =~ 't.*t' ]]; echo $? 1 It works without the quotes. Looks like they are taken literally instead of being removed. I, too,