Let search for CO2 show CO₂ too - WITH enabled "Match Diacritics"?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
pstein
Posts: 64
Joined: Thu Aug 07, 2014 6:18 pm

Let search for CO2 show CO₂ too - WITH enabled "Match Diacritics"?

Post by pstein »

If I search in Everything for "CO2" it list only files which contain the exact "CO2" pattern but not the files with "CO₂"

Therefore I have to disable "Match Diacritics".

Then CO2 matches "CO2" AND "CO₂" filename pattern.

But on the other hand disabling "Match Diacritics" will not distinguish between "a" and german Umlaut "ä".
This is bad too.

So what I need is a search with
1.) "Match Diacritics" enabled
AND
2.) "CO2" matches "CO₂"

What solution can you offer?

I don't need a general purpose solution for ALL superscript and subscript number and char combinations.

It would be sufficient to have an user editable short list feature which let users define customized equivalents similar to
CO2 = CO₂

...which could later be extended to other synonym combinations like

USD = Dollar
Mike = Michael
Department = Dept
.....
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Let search for CO2 show CO₂ too - WITH enabled "Match Diacritics"?

Post by void »

Sorry, I don't have a good solution here for Everything 1.4 / 1.5.

A synonym list is on my TODO list.
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Let search for CO2 show CO₂ too - WITH enabled "Match Diacritics"?

Post by void »

Everything 1.5.0.1407a adds basic support for Synonym Lists.
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: Let search for CO2 show CO₂ too - WITH enabled "Match Diacritics"?

Post by therube »

I'll assume that the only desire here was a simple list of synonyms
this;that;other

so nothing like
this;that;ww:other
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Let search for CO2 show CO₂ too - WITH enabled "Match Diacritics"?

Post by void »

Correct.

You cannot substitute search modifiers or search functions.
substitution only occurs for normal searches (eg: doesn't apply to regex)
Post Reply