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 * include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin), 2009-02-08 13:44:21 +00:00
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 * encoding.c (rb_enc_fast_mbclen): faster mbclen for strings known 2009-05-20 04:44:36 +00:00
intern.h * class.c (rb_define_class_id_under, rb_define_module_id_under): 2009-08-12 06:32:21 +00:00
io.h Set encoding and strip bom when modeenc string is "r:foo-bom" [ruby-dev:37236] 2009-07-09 14:47:48 +00:00
missing.h * include/ruby/win32.h: include winsock headers in extern "C++" for 2009-07-17 21:33:05 +00:00
oniguruma.h \d, \s and \w are now non Unicode class. [ruby-dev:39026] 2009-08-15 16:01:33 +00:00
re.h * include/ruby/oniguruma.h, include/ruby/re.h, re.c, regcomp.c, 2009-06-30 02:08:54 +00:00
regex.h
ruby.h * include/ruby/ruby.h (rb_check_safe_str): deprecated. 2009-08-14 11:03:22 +00:00
st.h * st.c, include/ruby/st.h (st_memsize): added. This function returns 2009-06-16 22:03:12 +00:00
util.h * common.mk (bignum.o, numeric.o): depend on util.h. 2009-05-26 04:58:15 +00:00
version.h * include/ruby/version.h: extracted the extensions interface and 2009-05-13 06:23:20 +00:00
vm.h
win32.h * win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/ 2009-07-21 04:38:20 +00:00