That is not a problem of UltraEdit, it is a Windows problem (since Win95). If you don't believe me, try dir *.htm
at a command prompt. The dir command will also list *.html files. I guess, because the short name is something like 123456~1.htm for the files with extension .html. See the Microsoft article Command Prompt's Treatment of Long File Extensions
, the CodeGuru article Work Around the Bug of "Deprecated DOS Wildcards"
and also Wildcards
Sure, UltraEdit could avoid duplicate entries, if it would first searches for filenames with *.htm and then for *.html, join the two lists and remove duplicate entries. But this will result in caching problems, because UltraEdit cannot prognose, how much memory is needed for building the file list. So it better runs the search immediately on every file found.
To avoid duplicate entries at your example simply search for "*.htm?
" instead of "*.htm; *.html", because "*.htm?" finds files with both extension with only one search.