Partial file name match when searching?

I want to use the search bar to find files that have ".min.min" in them. I tried performing the following search:

*.min.min*

But it matches some files like "data.min.js".

What am I doing wrong here?

I don't use the search bar, but for what it's worth, typing "min.min" is enough to filter these files in:

  • the FAYT field (file as you type)
  • the Find utility panel

Using .min.min in the search field has the expected result for me, when using a set of empty test files with the same names as in your screenshot.

Windows search considers file content by default. Is it possible the other files contain ".min.min"?

Saying that, something odd is going on with Windows Search as .min does not find any of the files for me, so maybe ".min" means something special to it.

Try these instead; they both do what I would expect here, and it often helps to be explicit with Windows Search. (With an ambiguous query, Windows Search often tries to be clever, but usually ends up doing something stupid, in my experience. :slight_smile:)

filename:*.min.min*
filename:*.min*

Opus's built-in find tool (Tools > Find Files) should behave more predictably than Windows Search, FWIW.