[ruby-core:127623] [Ruby Bug#22493] Case-insensitive matching is inconsistent in some single-byte encodings