Search for content that includes quotes

General discussion related to "Everything".
Post Reply
bsacheri
Posts: 5
Joined: Sun Jun 16, 2019 8:18 pm

Search for content that includes quotes

Post by bsacheri »

I have a folder full of legacy source code files. I want to search the files to find places where I have used the expression .CreateProperty("Description". How can I use the
content:
command and escape the quote characters?

I have attempted the following variations:
content:".CreateProperty(\"Description\""
content:.CreateProperty(\"Description\"
content:".CreateProperty("Description"
content:.CreateProperty(["]"Description["]
content:".CreateProperty(["]"Description["]"


If there is not a way to escape the quote character for this search to work, is there a way to search where CreateProperty and Description are on the same line of code?

I'm using Everything 1.5.01361a
void
Developer
Posts: 16428
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search for content that includes quotes

Post by void »

content*:.CreateProperty("Description"


The * means match the rest of the search, literally, with content:



Alternatively:

content:.CreateProperty(&quot:Description&quot:


&quot: = match a literal "

Everything 1.5 has support for all HTML5 character entities.
Post Reply