Ok. Here is the code that shows the inconsistency Regexp/String for interpolation, from your examples: ```ruby # inconsistent Regexp/String interpolation behavior prefix = '\p{In_Arabic}' suffix = '\p{In_Arabic}'.encode('US-ASCII'...thyresias (Thierry Lambert)
jeremyevans0 (Jeremy Evans) wrote in #note-7: > Sure, that sounds like a good idea. It seems I cannot change the description, just the title. Should I open a new bug report? As an aside, you said about the encoding of the result ...thyresias (Thierry Lambert)
jeremyevans0 (Jeremy Evans) wrote in #note-5: > I agree this represents a bug, which is why I changed the status back to Open. However, I think the bug is in the literal Regexp support, not in `Regexp.escape`. Thank you. I agree with...thyresias (Thierry Lambert)
I placed the file containing the code below in a directory named "à_signaler" to show the effect on non-ascii characters: ```ruby def dirname_encoding(file) h = { "file" => file, "File.dirname(file)" => File.dirname(file),...thyresias (Thierry Lambert)