Added out regex support