"Dossy" <dossy / panoptic.com> wrote in message
news:20020920153223.GZ27665 / panoptic.com...

> If you're looking for case insensitive hashes you're already
> going to hell.
>
> Isn't the whole constraint of a hashtable is that it's case sensitive?
>
> -- Dossy

The way to deal with this is to create a hashtable that is indexed by
normalized keys i.e. all uppercase or all lowercase characters. Upon lookup
you map the search key the same way. The actual hash lookup is still case
sensitive. You may then store the original key as a value and you may also
want to maintain two hashes - one with the original keys and one with the
normalized keys.

Mikkel