diff options
author | Hiroya Fujinami <[email protected]> | 2024-02-13 09:53:03 +0900 |
---|---|---|
committer | <[email protected]> | 2024-02-13 09:53:03 +0900 |
commit | 4a6384ed9358e8fb8464f6e37efb5477182f01db () | |
tree | 94dc5e5c12d5c6dd8f297ac8055c6942011ec5ea /test/ruby/test_regexp.rb | |
parent | 8a345860d3d16b3bca74caf8ee1b405287873eed (diff) |
Fix [Bug #20246]: Don't set next_head_exact if a capture is called (#9897)
-rw-r--r-- | test/ruby/test_regexp.rb | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2045,6 +2045,11 @@ class TestRegexp < Test::Unit::TestCase 100.times.each { assert(regex.match?(string)) } end def test_linear_time_p assert_send [Regexp, :linear_time?, /a/] assert_send [Regexp, :linear_time?, 'a'] |