bug-bash
[Top][All Lists]
Advanced

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

Regular experssions are not working in 3.2.39 as in 3.1.17


From: root
Subject: Regular experssions are not working in 3.2.39 as in 3.1.17
Date: Tue, 14 Oct 2008 13:46:03 -0700 (PDT)

Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I../bash -I../bash/include -I../bash/lib   -g -O2 -Wall
uname output: Linux metairie 2.6.26.5-tce #65 SMP PREEMPT Fri Oct 3 11:20:48 
PDT 2008 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 3.2
Patch Level: 39
Release Status: release

Description:
        regular expression are broken in 3.2.39
        
        version 3.1.17 (debian etch) 
        =========================================================
        address@hidden:~# echo $BASH_VERSION
        3.1.17(1)-release
        address@hidden:~#  ss="dsfds f dsf ESSID:bob"
        address@hidden:~# [[ "$ss" =~ 'ESSID:(.**)' ]] && echo $?
         0
        ========================================================
        
        version 3.1.29 (debian lenny )
        ====================================================
        address@hidden:/D/home/david$  echo $BASH_VERSION
        3.2.39(1)-release
        address@hidden:/D/home/david$ ss="dsfds f dsf ESSID:bob"
        address@hidden:/D/home/david$ [[ "$ss" =~ 'ESSID:(.**)' ]] && echo $?
        address@hidden:/D/home/david$ echo $?
        1
        =======================================================
        thanks



Repeat-By:
        see above




reply via email to

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