[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)
=========================================================
root@westbank:~# echo $BASH_VERSION
3.1.17(1)-release
root@westbank:~# ss="dsfds f dsf ESSID:bob"
root@westbank:~# [[ "$ss" =~ 'ESSID:(.**)' ]] && echo $?
0
========================================================
version 3.1.29 (debian lenny )
====================================================
david@metairie:/D/home/david$ echo $BASH_VERSION
3.2.39(1)-release
david@metairie:/D/home/david$ ss="dsfds f dsf ESSID:bob"
david@metairie:/D/home/david$ [[ "$ss" =~ 'ESSID:(.**)' ]] && echo $?
david@metairie:/D/home/david$ echo $?
1
=======================================================
thanks
Repeat-By:
see above
- Regular experssions are not working in 3.2.39 as in 3.1.17,
root <=