if [[ "${foo}" =~ ^someReg[e][x][p][r]$ ]]; then ...
What value exists in going to such great lengths to target super old and anqtiquated versions of Bash? It becomes very limiting for this poor new language :-s if (s.match(/my[R]egex[H]ere/)) { ..
Would be pretty nice and handy.