如何知道正则表达式subn的repl函数中的匹配索引假设我有以下字符串: a<firstIndex>b<secondIndex>c<thirdIndex> 我想把r'<\w+Index>'的所有事件替换 ...2024-05-27 已阅读: n次