support case-insensitivity for ranges in character classes