Bug: .{0,99}
and .*
give different results, even without long lines in content
#176
Labels
.{0,99}
and .*
give different results, even without long lines in content
#176
Steps to reproduce:
onig/lib.rs
, inside thetests
module.cargo test test_space_star_dot_star
I think both regexes should match. But
re1
succeeds andre2
fails!Doing
cd onig_sys/oniguruma && git checkout master && git pull origin master
did not change the behavior.Ruby 3.0.5p211 does not have this bug. Both regexes match:
The text was updated successfully, but these errors were encountered: