diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-27 02:54:10 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-11-27 02:54:10 +0000 |
commit | c898839035b6fe74f8281fb918c13f856690bfde (patch) | |
tree | b17e74ddeec3165305798e9657938aaf13714f6c /ChangeLog | |
parent | dd1e757adb87340ac13354c3228a5c2e1c0b1bb4 (diff) |
merges r24544 from trunk into ruby_1_9_1.
--
\d, \s and \w are now non Unicode class. [ruby-dev:39026]
* include/ruby/oniguruma.h
(ONIGENC_CTYPE_SPECIAL_MASK): added.
(ONIGENC_CTYPE_D): ditto.
(ONIGENC_CTYPE_S): ditto.
(ONIGENC_CTYPE_W): ditto.
* regparse.c: \d, \s and \w are now non Unicode class.
[ruby-dev:39026]
(fetch_token_in_cc): use ONIGENC_CTYPE_[DSW] for \d/\s/\w.
(fetch_token): ditto.
(add_ctype_to_cc): add routines for ONIGENC_CTYPE_[DSW].
(parse_exp): ditto.
* test/ruby/test_regexp.rb (TestRegexp#test_char_class):
add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,3 +1,21 @@ +Sun Aug 16 00:30:33 2009 NARUSE, Yui <naruse@ruby-lang.org> + + * include/ruby/oniguruma.h + (ONIGENC_CTYPE_SPECIAL_MASK): added. + (ONIGENC_CTYPE_D): ditto. + (ONIGENC_CTYPE_S): ditto. + (ONIGENC_CTYPE_W): ditto. + + * regparse.c: \d, \s and \w are now non Unicode class. + [ruby-dev:39026] + (fetch_token_in_cc): use ONIGENC_CTYPE_[DSW] for \d/\s/\w. + (fetch_token): ditto. + (add_ctype_to_cc): add routines for ONIGENC_CTYPE_[DSW]. + (parse_exp): ditto. + + * test/ruby/test_regexp.rb (TestRegexp#test_char_class): + add tests for above. + Fri Sep 18 16:15:04 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> * compile.c (iseq_compile_each), parse.y (stmt, arg): arg_concat() |