* re.c (rb_reg_initialize): 7bit clean regexp should be US-ASCII.
[ruby-dev:33346] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ce3f827565
commit
fbe52683e6
@ -1,3 +1,8 @@
|
|||||||
|
Thu Jan 24 16:53:06 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
|
* re.c (rb_reg_initialize): 7bit clean regexp should be US-ASCII.
|
||||||
|
[ruby-dev:33346]
|
||||||
|
|
||||||
Thu Jan 24 16:31:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
Thu Jan 24 16:31:04 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
* io.c (rb_io_getline_fast): the end point of left_char_head()
|
* io.c (rb_io_getline_fast): the end point of left_char_head()
|
||||||
|
2
re.c
2
re.c
@ -2008,7 +2008,7 @@ rb_reg_initialize(VALUE obj, const char *s, int len, rb_encoding *enc,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!(options & ARG_ENCODING_FIXED)) {
|
else if (!(options & ARG_ENCODING_FIXED)) {
|
||||||
enc = a_enc;
|
enc = rb_usascii_encoding();
|
||||||
}
|
}
|
||||||
|
|
||||||
rb_enc_associate((VALUE)re, enc);
|
rb_enc_associate((VALUE)re, enc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user