Make regex work