bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Bernd Eggink
Subject: Re: regexp matching broken in bash-3.2.x?
Date: Sat, 27 Oct 2007 15:55:08 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20070728)

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, think it's a bug, as according to the docs, quote removal should be performed on the words between [[ and ]].

Regards,
Bernd

--
Bernd Eggink
monoped@sudrala.de
http://sudrala.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]