Use case-sensitive comparisons (==#), as per "Learn Vimscript the Hard Way".