diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-29 08:03:51 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-29 08:03:51 +0000 |
commit | d5c8ad535961968b40823512ccdb12e38f1ed529 (patch) | |
tree | ec9fda92b59a605bc0a836f625a71e871a23a6a7 /main.c | |
parent | 65615986ec0cfc5971c990abe46643b0edbcab8d (diff) | |
download | ruby-d5c8ad535961968b40823512ccdb12e38f1ed529.tar.gz |
* insns.def (toregexp): generate a regexp from strings instead of one
string.
* re.c (rb_reg_new_ary): defined for toregexp. it concatenates
strings after each string is preprocessed.
* compile.c (compile_dstr_fragments): split from compile_dstr.
(compile_dstr): call compile_dstr_fragments.
(compile_dregx): defined for dynamic regexp.
(iseq_compile_each): use compile_dregx for dynamic regexp.
[ruby-dev:33400]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions