且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

vscode regex子匹配评估而不是串联?

更新时间:2023-09-29 09:11:22

您可以使用VS代码

You can use the VS Code Super Replace extension to achieve this.

查找字段为正则表达式

替换是替换表达式.使用$$index语法的子匹配将使用处理功能字段

Replace is the replace expression. Sub match with $$index syntax will be resolved using the function in Processing function field

以下是一个使用示例,可​​以回答您的问题:

Here is an example of use that answers your question :