diff options
author | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-20 07:32:23 +0000 |
---|---|---|
committer | rhe <rhe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-20 07:32:23 +0000 |
commit | dc2d359b70725e890eff902e25bc0176245b0784 (patch) | |
tree | cbb9d2aa5821461076f39ee31a6b224297ae05b4 /st.c | |
parent | 44ba4fd36248d8d496cb31cf2f33a0ad0c19b5a2 (diff) | |
download | ruby-dc2d359b70725e890eff902e25bc0176245b0784.tar.gz |
re.c: consider the case of RMatch::regexp is nil
Follow r49675, r57098 and r57110. Don't assume RMatch::regexp always
contains a valid Regexp instance; it will be Qnil if the MatchData is
created by rb_backref_set_string(). [ruby-core:78741] [Bug #13054]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
0 files changed, 0 insertions, 0 deletions