diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-25 13:25:34 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-25 13:25:34 +0000 |
commit | b2e60b2ce7a7cbcb8a67ac78606a18d3c2591d81 (patch) | |
tree | 0f500dea348992d8bf6af2ac546e74925e60cced /ChangeLog | |
parent | 43090c9f504f117203085286710d92afc2429f34 (diff) | |
download | ruby-b2e60b2ce7a7cbcb8a67ac78606a18d3c2591d81.tar.gz |
* include/ruby/encoding.h (rb_enc_str_asciionly_p): declared.
(rb_enc_str_asciicompat_p): defined.
* re.c (rb_reg_initialize_str): use rb_enc_str_asciionly_p.
(rb_reg_quote): return ascii-8bit string if the argument is
ascii-only to generate encoding generic regexp if possible.
(rb_reg_s_union): fix encoding handling. [ruby-dev:32094]
* string.c (rb_enc_str_asciionly_p): defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +Sun Nov 25 22:21:35 2007 Tanaka Akira <akr@fsij.org> + + * include/ruby/encoding.h (rb_enc_str_asciionly_p): declared. + (rb_enc_str_asciicompat_p): defined. + + * re.c (rb_reg_initialize_str): use rb_enc_str_asciionly_p. + (rb_reg_quote): return ascii-8bit string if the argument is + ascii-only to generate encoding generic regexp if possible. + (rb_reg_s_union): fix encoding handling. [ruby-dev:32094] + + * string.c (rb_enc_str_asciionly_p): defined. + Sun Nov 25 12:12:03 2007 Eric Hodel <drbrain@segment7.net> * gem_prelude.rb: Import fast-loading gem_prelude.rb from RubyGems. |