summaryrefslogtreecommitdiffstats
path: root/rational.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-27 02:54:10 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-27 02:54:10 +0000
commitc6a33f0841a8aec6503241b88aa15001b1ad9b67 (patch)
treeb17e74ddeec3165305798e9657938aaf13714f6c /rational.c
parent2f1d6e714a7478e9c4af4452e35a27b9a3f0c333 (diff)
downloadruby-c6a33f0841a8aec6503241b88aa15001b1ad9b67.tar.gz
ruby-c6a33f0841a8aec6503241b88aa15001b1ad9b67.tar.xz
ruby-c6a33f0841a8aec6503241b88aa15001b1ad9b67.zip
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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@25941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
0 files changed, 0 insertions, 0 deletions