Find: search just for the exact file name

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
thomas_s
Posts: 18
Joined: 28 Jan 2006, 08:41

Find: search just for the exact file name

Post by thomas_s »

Example:

I want to search for CVS directories. But unfortunately 2S also finds directories, which have "cvs" anywhere in the name.

Maybe there is already a possibility to search for the exact name - I just did not found one. If there is none, please add the ability. Thanks in advance.

Tom
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Find for "CVS." (without quotes).
thomas_s
Posts: 18
Joined: 28 Jan 2006, 08:41

Post by thomas_s »

Thanks, that works, but why? Am I right:

- if the pattern contains at least one period, the right period will be trimmed and searched exactly
- if the pattern does not contain a period, 2S searches for "*<pattern>*"?

Tom
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Hi Tom!

The Windows Find command behaves this way so we were forced to support this "simplified" pattern too.

Rule: if the searched pattern doesn't contain wildcard or period character (* ? .), convert it to *pattern*.
Post Reply