Add smart case matching