summaryrefslogtreecommitdiff
path: root/test/ruby/test_regexp.rb
diff options
context:
space:
mode:
authorTSUYUSATO Kitsune <[email protected]>2022-12-14 12:57:14 +0900
committer<[email protected]>2022-12-14 12:57:14 +0900
commitfbedadb61f49ba3aaf4f07939b4fc7d0b8f8ac03 ()
tree05f5147da45c55947f220e9e2119b905d97cdab3 /test/ruby/test_regexp.rb
parentfe3cbc61c805a860da3d41253879708ec86b6aa2 (diff)
Add `Regexp.linear_time?` (#6901)
Notes: Merged-By: makenowjust <[email protected]>
-rw-r--r--test/ruby/test_regexp.rb8
1 files changed, 8 insertions, 0 deletions
@@ -1696,4 +1696,12 @@ class TestRegexp < Test::Unit::TestCase
assert_nil(/^a*b?a*$/ =~ "a" * 1000000 + "x")
end;
end
end