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