^ has stopped working in the subject filter

Post Reply
ShaggyDragon
Posts: 10
Joined: Fri Mar 21, 2003 10:36 pm

^ has stopped working in the subject filter

Post by ShaggyDragon »

Hi,

In your recent update which improved the search filters, the newsgroup subject filter is ignoring negation ^ signs. I've checked the option for negation, but it is still ignoring it.

Thanks,
Andy.
alex
Posts: 4547
Joined: Thu Feb 27, 2003 5:57 pm

Re: ^ has stopped working in the subject filter

Post by alex »

boolean wildmats were unchanged.

all words is a simple search syntax which UE just translates into boolean wildmat.

is negation checked in edit menu->properties->search/import search...syntax, negation?

e.g. if you look for

alcaline

you get 3 matches

alcaline ^musique

you get one match

you can also use exact phrase with negation, and it is all, i tried to make the search syntax as simple as possible, you can even disable negation and exact phrase so there will be no control characters at all.

don't put spaces between ^ and the following word or exact phrase if you search for

alcaline ^ musique

it will be effectively

alcaline musique

since ^ is ignored because of the following space and you will get 2 matches (3-1)

as with boolean wildmats you cannot use pure negation unless the other field is well defined, e.g. if you search for ^musique in subject and author is empty you are looking for the universe and it is not an option (but e.g. ^musique in the subject field and john smith in the author field is perfectly ok).

what search expression are you trying to enter?
ShaggyDragon
Posts: 10
Joined: Fri Mar 21, 2003 10:36 pm

Re: ^ has stopped working in the subject filter

Post by ShaggyDragon »

Hi Alex,

I've checked negation. I'm trying to exclude all .nzb files from showing up. I'm entering ^.nzb which used to work fine. It now displays all headers with .nzb in them and excludes the rest. If I change the filter to .nzb it displays the same headers.

Thanks,

A.
ShaggyDragon
Posts: 10
Joined: Fri Mar 21, 2003 10:36 pm

Re: ^ has stopped working in the subject filter

Post by ShaggyDragon »

I've just checked - it's the . that is causing the problem. If you filter with ^nzb it works, ^.nzb doesn't.
alex
Posts: 4547
Joined: Thu Feb 27, 2003 5:57 pm

Re: ^ has stopped working in the subject filter

Post by alex »

yes, all words means it strips all what is not letters/numbers.

you can use als ^"nzb"

why you don't want to use wildmats, just select properties->search/import, syntax instead of all words select boolean wildmat match.

i could pass through the dot, not sure it won't beat the purpose of making it as simple as possible, if there is any user consensus i can change the code, again UE just translates search patterns into boolean wildmat form with the server side basically unchanged.
ShaggyDragon
Posts: 10
Joined: Fri Mar 21, 2003 10:36 pm

Re: ^ has stopped working in the subject filter

Post by ShaggyDragon »

Thanks for the explanation. However, if the . is being ignored, shouldn't ^.nzb be the same as ^nzb ? Or is the . being replaced by a space, so that ^.nzb = ^ nzb which won't work?
alex
Posts: 4547
Joined: Thu Feb 27, 2003 5:57 pm

Re: ^ has stopped working in the subject filter

Post by alex »

yes, replaced by space.

with ^.nzb one would expect the dot to be taken into account and it is not the case.

what also could be considered is to add an edit box to list non-alphanumeric characters which won't be ignored - except for space.

if there will be clear ideas the code is very easy to change.
Post Reply