fix bash regex