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

2007-10-27 Thread Andreas Schwab
Bernd Eggink <[EMAIL PROTECTED]> writes: > "Word splitting and filename expansion are not performed on the words > between the `[[' and `]]'; tilde expansion, parameter and variable > expansion, arithmetic expansion, command substitution, process > substitution, _and quote removal_ are performed."

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

2007-10-27 Thread Bernd Eggink
Pierre Gaston schrieb: On 10/27/07, Bernd Eggink <[EMAIL PROTECTED]> wrote: 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

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

2007-10-27 Thread Pierre Gaston
On 10/27/07, Bernd Eggink <[EMAIL PROTECTED]> wrote: > 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 quo

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,

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'