Bug #18964
Updated by nobu (Nobuyoshi Nakada) about 3 years ago
These functions do not update the code range of the destination string, and the string still caches outdated flags. 
 Since these functions are unchanged for years, I think this will need to be backported. 
 https://github.com/ruby/ruby/pull/6250