Page 1 of 1

1.3.1 - quicksearch problem with '.' (dot) symbol - wrong results (SOLVED!)

Posted: Sun Nov 13, 2022 11:53 am
by masterjp
Today I wanted to quickly search all files with the file extension 'webp'.

I had some files with the webp and jpg extension within the same directory.
The jpeg files contain the text 'webp' within the filename.
I used the quicksearch text '.webp' to filter all webp files, but XnViewMP find my 'name_web_test.jpg' file, too!
Maybe you can make the search more symbol sensitive and for this kind of search.

Re: 1.3.1 - quicksearch problem with '.' (dot) symbol - wrong results

Posted: Sun Nov 13, 2022 2:51 pm
by michel038
In quicksearch field, the "regex" syntax is used. (search for regex or regexp on the web for more details ...)
Here, a dot is a wildcard character(such as ? in DOS syntax).
You can neutralize it with a backslash :

To search .webp you must type \.webp

Re: 1.3.1 - quicksearch problem with '.' (dot) symbol - wrong results

Posted: Sun Nov 13, 2022 4:51 pm
by masterjp
Thank you for your help.
It works fantastic. :D