bugfix: remove  for [[ =~ ]], as rhel6 bash not supported