Search
Posted: 15 Jul 2009 21:09
When searching for a word inside a file why are .jpg files show up on the search result?
Hello and welcome to the forums!sryap wrote:When searching for a word inside a file why are .jpg files show up on the search result?
Code: Select all
!>.*(\.jpg)$It does not have to be a RegExp. *.jpg with "Invert" checked will do as well, or:zer0 wrote:Hello and welcome to the forums!sryap wrote:When searching for a word inside a file why are .jpg files show up on the search result?
My first guess of an answer to that, is that when you have a look at Raw View of an image file, JPG in this context, there is some metadata that is being stored within the file. Perhaps, when searching for a string inside a file, XY also reads that metadata and, if there's a match, it includes that file in the search results list. That's just a guess though and I'll stand corrected if that is not so. Of course, you can exclude JPGs from being shown by using the following search criteria:This will find all files apart from JPGs, so adopt it to your needs and you won't see them againCode: Select all
!>.*(\.jpg)$
Code: Select all
!*.jpg