[ruby-core:123897] [Ruby Bug#21709] Inconsistent encoding by Regexp.escape