still supports regexp, though