我想尝试匹配输入
<foo> <bar> #####<foo> #####<bar>
我试过#{5}?<\w+>,但它不匹配<foo>和<bar>.
#{5}?<\w+>
<foo>
<bar>
这种模式有什么问题,如何修复?
java regex
java ×1
regex ×1