Search
-
zer0
- Posts: 2676
- Joined: 19 Jan 2009 20:11
Re: Search
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:
Code: Select all
!>.*(\.jpg)$Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build
Windows 7/10
Always using the latest stable two-decimal build
-
admin
- Site Admin
- Posts: 66340
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Search
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
!*.jpgFAQ | XY News RSS | XY X
XYplorer Beta Club