separate case-sensitive and case-insensitive search