VSCode: 正则搜索匹配多行多个关键字 Match two words in diff lines in VSCode May 7, 2024 20242024-05VSCodeRegExpDevelopment 场景:QML 项目中搜索 Button 控件并使用了 background 属性的代码。 正则表达式写法: Button.*(?:\n.*(?:\n.*)){0,10}.*background 匹配效果: