1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/include/ruby
naruse 249697855e \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/trunk@24544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-15 16:01:33 +00:00
..
backward
defines.h * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match changes in bignum.c and array.c. 2009-07-25 15:19:26 +00:00
encoding.h
intern.h * class.c (rb_define_class_id_under, rb_define_module_id_under): 2009-08-12 06:32:21 +00:00
io.h
missing.h
oniguruma.h \d, \s and \w are now non Unicode class. [ruby-dev:39026] 2009-08-15 16:01:33 +00:00
re.h
regex.h
ruby.h * include/ruby/ruby.h (rb_check_safe_str): deprecated. 2009-08-14 11:03:22 +00:00
st.h
util.h
version.h
vm.h
win32.h * win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/ 2009-07-21 04:38:20 +00:00