diff options
author | TSUYUSATO Kitsune <[email protected]> | 2022-12-14 12:57:14 +0900 |
---|---|---|
committer | <[email protected]> | 2022-12-14 12:57:14 +0900 |
commit | fbedadb61f49ba3aaf4f07939b4fc7d0b8f8ac03 () | |
tree | 05f5147da45c55947f220e9e2119b905d97cdab3 /test/ruby/test_regexp.rb | |
parent | fe3cbc61c805a860da3d41253879708ec86b6aa2 (diff) |
Add `Regexp.linear_time?` (#6901)
Notes: Merged-By: makenowjust <[email protected]>
-rw-r--r-- | test/ruby/test_regexp.rb | 8 |
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 |