我很感兴趣如何在Python中实现递归正则表达式匹配(我没有找到任何示例:().例如,如何编写表达式匹配"支架平衡"字符串,如"foo(bar(bar(foo)) )(foo1)BAR1"
python regex recursion
python ×1
recursion ×1
regex ×1