From bd78259daaffb26a129dcd6bde3c6cb97c869775 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 15 Aug 2009 16:01:33 +0000 Subject: \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: http://svn.ruby-lang.org/repos/ruby/trunk@24544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index add764aa3..697e60f81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +Sun Aug 16 00:30:33 2009 NARUSE, Yui + + * 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. + Sat Aug 15 10:39:53 2009 Nobuyoshi Nakada * parse.y (fname, string_dvar, sym, dsym, f_arglist): removed -- cgit