no-start-with and no-end-with

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

no-start-with and no-end-with

Post by harryray2 »

I've notice these two...I tried them out but they didn't seem to work..What's the correct format please?
void
Developer
Posts: 16679
Joined: Fri Oct 16, 2009 11:31 pm

Re: no-start-with and no-end-with

Post by void »

The no- prefix disables the search modifier.

Generally, the startwith: and endwith: search modifiers are disabled by default so no-start-with: and no-end-with: will do nothing.

They are only useful if you end up with a term (usually for a filter) that has the startwith:/endwith: modifier and you want to disable it:
nostartwith:<startwith:every thing>
is the same as:
every thing

The outer left most search modifier will take precedence.

The no- prefix might not be so useful for startwith: and endwith:
The no- prefix simply exists for as all search modifiers.

For example, you might enable Match case from the Search menu, which you can override with nocase: in your search.
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: no-start-with and no-end-with

Post by harryray2 »

Ah, OK, is it possible to search for a file that doesn't start with a particular string?
void
Developer
Posts: 16679
Joined: Fri Oct 16, 2009 11:31 pm

Re: no-start-with and no-end-with

Post by void »

Please try the NOT operator: !

To find content that does NOT startwith foo:
!startwith:content:foo



Everything Search Operators
startwith: Search Modifier
harryray2
Posts: 1104
Joined: Sat Oct 15, 2016 9:56 am

Re: no-start-with and no-end-with

Post by harryray2 »

Thanks, I never thought of that....simple
Post Reply