diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-05 11:32:05 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-05 11:32:05 +0000 |
commit | 3a80743ccf57259ada074c1861592fe552c96459 (patch) | |
tree | 5ebdfc6cd69dddbfefb1988aa37a63538982e9f4 /load.c | |
parent | 0d49737b4f8fed8bd5224eda57382891c4492f46 (diff) | |
download | ruby-3a80743ccf57259ada074c1861592fe552c96459.tar.gz |
* re.c (rb_reg_expr_str): ASCII incompatible strings
must always escape or converted.
* re.c (rb_reg_expr_str): use rb_str_buf_cat_escaped_char
when resenc is given: for Regexp#inspect or error message.
* re.c (rb_reg_desc): add 'n' for ENCODING_NONE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'load.c')
0 files changed, 0 insertions, 0 deletions