Added support for case sensitivity.

The default is case insensitive.