* Robert Rothenberg <rob...@gmail.com> [2007-04-25 16:40]: > In Bash 3.2, the syntax of regular expressions were changed. So > > if [[ $string =~ 'foo(.*)' ]] then ... > > should become > > if [[ $string =~ foo(.*) ]] then ... > > You can imagine how many scripts that breaks.
Wow. So what new way of writing the following do they propose? if [[ $string =~ ' foo ' ]] ; then ... Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>