With bash 3.1.17(4)-release
# [[ "abcd" =~ "^a" ]]; echo $?
0

With bash 3.2.17(3)-release
# [[ "abcd" =~ "^a" ]]; echo $?   # is this a bug???
1
# [[ "abcd" =~ ^a ]]; echo $?
0


Is this a bug?


Thanks,
Jeff.



_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to