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."
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
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
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,
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'