diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-18 15:00:50 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-07-18 15:00:50 +0000 |
commit | acbb181219e83eeb6f54f725cf72d05aa3048863 (patch) | |
tree | ad3f61f12e0a3c7e64942c9c8db19e418e175b28 /ChangeLog | |
parent | 33151fcfe40cbe9c2410cec1a4760a0e1f62bce5 (diff) | |
download | ruby-acbb181219e83eeb6f54f725cf72d05aa3048863.tar.gz |
use rb_enc_get to get the encoding of a Regexp object.
* re.c (reg_enc_error): use rb_enc_get to get the encoding of
a Regexp object. REGEXP(re)->ptr->enc is the encoding of the
regexp engin for patterns and target strings.
[ruby-core:23208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +Sat Jul 18 23:44:59 2009 NARUSE, Yui <naruse@ruby-lang.org> + + * re.c (reg_enc_error): use rb_enc_get to get the encoding of + a Regexp object. REGEXP(re)->ptr->enc is the encoding of the + regexp engin for patterns and target strings. + [ruby-core:23208] + Sat Jul 18 17:43:12 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * string.c (rb_str_hash_cmp): got rid of overflow. |