更新时间:2023-02-17 23:18:00
我真正需要的是:
("[^"]*Url[^"]*")
And thanks to the tip from tghw who pointed out the :q shortcut in Visual Studio equates to:
(("[^"]*")|('[^']*'))
我意识到我需要使用第一部分来查找我一直在寻找的双倍字符串.
I realized I needed to use the first portion to find only the double quoated strings I was looking for.
此正则表达式以及带有匹配大小写"和匹配整个单词"的标准查找都产生了一些字符串的结果,我希望找不到并消除其中带有"URL"的代码.
Both this regex and a standard find with 'Match case' and 'Match whole word' yielded results with some strings I was hoping to not find but eliminated the code with 'Url' in it.