Show results with items having "?" sign when I search for "?"

Discussion related to "Everything" 1.5 Alpha.
Post Reply
tollyboss
Posts: 14
Joined: Sun Apr 12, 2020 6:55 am

Show results with items having "?" sign when I search for "?"

Post by tollyboss »

As the title suggests I used alternative character symbols in place of restricted characters in the filename.
"?","?"
":",":"
"/","/"
"|","|"
"*","*"
Now here's what I need;
When I input any of the above restricted characters, I want the search results to show the items which have the alternative substitutes of those.
For eg: there's a file with name -> Who are you?.txt
And now when I input ? in the search box, the above item must appear in the results.
void
Developer
Posts: 19180
Joined: Fri Oct 16, 2009 11:31 pm

Re: Show results with items having "?" sign when I search for "?"

Post by void »

It's not really possible to match
with
?


? is a wildcard in Everything.

You can disable wildcards with the nowildcards: search modifier.

For example:

nowildcards:?


I know this is not really ideal as you have to type a lot..
You can search for
to match




Everything 1.5 will have the option to disable wildcards globally with a filter.
In Everything 1.5, from the Search menu, click Add to filters.
Change the Name to:
No Wildcards

Change the Search to:
?nowildcards: #param:

Click OK.

Filters can be activated from the Search menu, Filter bar (View -> Filter Bar), Filter sidebar (View -> Filters), right clicking the status bar, filter macro or filter keyboard shortcut.
Filters can be organized from Search menu -> Organize filters.

Same applies with *



Searching for
:
should already match

Searching for
/
should already match


| is the OR operator in Everything.
The OR operator can be escaped with double quotes (").
For example:

"|"
tollyboss
Posts: 14
Joined: Sun Apr 12, 2020 6:55 am

Re: Show results with items having "?" sign when I search for "?"

Post by tollyboss »

Thanks for the reply.
It's now working after I disabled the wildcards.
void
Developer
Posts: 19180
Joined: Fri Oct 16, 2009 11:31 pm

Re: Show results with items having "?" sign when I search for "?"

Post by void »

I'm just making a note here: &quest: and &ast: character entities in Everything 1.5.0.1397a will now disable filename wildcards.

&quest:
is the html character entity for:
?

&ast:
is the html character entity for:
*




To search for ?, include the following in your search:

&quest:




To search for *, include the following in your search:

&ast:




Filename wildcards can now be disabled from advanced settings.

To disable filename wildcards:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    wildcards
  • Select: wildcards
  • Set the value to: false
  • Click OK.
When disabled, filename wildcards can be temporarily re-enabled from your search with
filename-wildcards:

For example:
filename-wildcards:*.mp3




Everything 1.5.0.1397a also adds filename-wildcards: and no-filename-wildcards: search modifiers.
Post Reply