summaryrefslogtreecommitdiff
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-11 02:05:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-08-11 02:05:24 +0000
commitd96eba12c24c71fb75a41ff4fcb7ca7ee1e46f91 ()
tree4c5e73c5fe2611226bfc305ef6704e063df63bea /test/ruby/test_regexp.rb
parent890ae326e5576299d785282e86407e3ad9466d14 (diff)
re.c: options for sub-regexp
* re.c (rb_reg_to_s): needs embedded options to check syntax of sub-regexp. [ruby-core:82328] [Bug #13798] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/ruby/test_regexp.rb6
1 files changed, 6 insertions, 0 deletions
@@ -74,6 +74,12 @@ class TestRegexp < Test::Unit::TestCase
end
end
def test_union
assert_equal :ok, begin
Regexp.union(