bash 4.1.2 and "broken" regular expression matching conditional operator (=~)