Page 1 of 1

search option

PostPosted: Sun Jul 24, 2011 12:47 pm
by danrobin
Im using v6.01B1 build 1127. When I do a search thru the internet for anything say "template" with no filter setting on i will get a list of files. but if i use the Global filter which all i have set is min size 5k and a reject file name with [compressed] in it it shows nothing. So I go back to no filter and it still shows nothing. I do a re-scan even changing the search name i get nothing. I have to exit out of the program and re-start it to get the search to see files again. Do i have some thing set wrong? This does this everytime I change the profile filter.

Re: search option

PostPosted: Sun Jul 24, 2011 1:51 pm
by Quade
Don't think I've ever tried that. I'll give it a try when I get a chance.

Re: search option

PostPosted: Sun Jul 24, 2011 2:05 pm
by danrobin
Cool Thanks

Re: search option

PostPosted: Sun Jul 24, 2011 2:25 pm
by danrobin
Ok, Well I took the name compressed and HighCompressed out of the Global filter and all is working ok. If I use the [compressed] how does that work?

Re: search option

PostPosted: Sun Jul 24, 2011 3:57 pm
by itimpi
danrobin wrote:Im using v6.01B1 build 1127. When I do a search thru the internet for anything say "template" with no filter setting on i will get a list of files. but if i use the Global filter which all i have set is min size 5k and a reject file name with [compressed] in it it shows nothing. So I go back to no filter and it still shows nothing. I do a re-scan even changing the search name i get nothing. I have to exit out of the program and re-start it to get the search to see files again. Do i have some thing set wrong? This does this everytime I change the profile filter.

The filters use regex syntax. In regex the square brackets define a character class - meaning any of the characters contained within the brackets. You would therefore be rejecting anything that contains any of the letters in the word "compressed" - which is very likely to be everything!. If you left off the square brackets the filter would probably do what you expect as it would then match on the word. If you want to keep the square brackets as actual characters to be matched then you have to escape them with backslash. e.g. \[compressed\]

Re: search option

PostPosted: Sun Jul 24, 2011 7:22 pm
by danrobin
I knew i was doing something wrong. A lesson i won't forget. Thanks a lot. I am going to have to learn all these regex options

Re: search option

PostPosted: Sun Jul 24, 2011 7:26 pm
by Quade
99.9% of the time, when I want to filter something in or out, I just use the word with no Regex Magic. I'd suggest considering the same.

Re: search option

PostPosted: Mon Jul 25, 2011 5:53 pm
by danrobin
Well I would have been ok if I hadn't put the [ ] around the word. I put them like you are saying and have no problem with the filters.