Why I get different backtracking with these Raku regexes?

前端 未结 0 1145
無奈伤痛
無奈伤痛 2020-12-10 06:27

I\'m getting unexpected backtracking of the + quantifier of a Raku regex.

In this regex:

\'abc\' ~~ m/(\\w+) {say $0}  

        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题