mirror of
https://github.com/ruby/ruby.git
synced 2026-11-08 01:20:26 +08:00
When a regexp is compiled again for the encoding of a string, pass its options to the preprocessor so that the comments of extended mode are dropped as in the first compilation. Also make is_code_ctype of Emacs-Mule return false for non-ASCII characters except for the word, graph and print types, so that they are not treated as newlines. [Bug #22491] Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>