search option

This is the place to help test and discuss Version 6 Beta releases.

search option

Postby danrobin » Sun Jul 24, 2011 12:47 pm

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.
Danrobin
danrobin
Seasoned User
Seasoned User
 
Posts: 124
Joined: Fri Oct 14, 2005 7:25 pm

Registered Newsbin User since: 01/09/06

Re: search option

Postby Quade » Sun Jul 24, 2011 1:51 pm

Don't think I've ever tried that. I'll give it a try when I get a chance.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: search option

Postby danrobin » Sun Jul 24, 2011 2:05 pm

Cool Thanks
Danrobin
danrobin
Seasoned User
Seasoned User
 
Posts: 124
Joined: Fri Oct 14, 2005 7:25 pm

Registered Newsbin User since: 01/09/06

Re: search option

Postby danrobin » Sun Jul 24, 2011 2:25 pm

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?
Danrobin
danrobin
Seasoned User
Seasoned User
 
Posts: 124
Joined: Fri Oct 14, 2005 7:25 pm

Registered Newsbin User since: 01/09/06

Re: search option

Postby itimpi » Sun Jul 24, 2011 3:57 pm

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\]
The Newsbin Online documentation
The Usenettools for tutorials, useful information and links
User avatar
itimpi
Elite NewsBin User
Elite NewsBin User
 
Posts: 12607
Joined: Sat Mar 16, 2002 7:11 am
Location: UK

Registered Newsbin User since: 03/28/03

Re: search option

Postby danrobin » Sun Jul 24, 2011 7:22 pm

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
Danrobin
danrobin
Seasoned User
Seasoned User
 
Posts: 124
Joined: Fri Oct 14, 2005 7:25 pm

Registered Newsbin User since: 01/09/06

Re: search option

Postby Quade » Sun Jul 24, 2011 7:26 pm

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44994
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: search option

Postby danrobin » Mon Jul 25, 2011 5:53 pm

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.
Danrobin
danrobin
Seasoned User
Seasoned User
 
Posts: 124
Joined: Fri Oct 14, 2005 7:25 pm

Registered Newsbin User since: 01/09/06


Return to Newsbin Version 6 Beta Support

Who is online

Users browsing this forum: No registered users and 3 guests