added search by regex support