Project

General

Profile

« Previous | Next » 

Revision c02c2df7

Added by yugui (Yuki Sonoda) almost 16 years ago

merges r24197 from trunk into ruby_1_9_1.

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/branches/ruby_1_9_1@24289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e