Thread View: news.software.readers
5 messages
5 total messages
Started by JJ
Tue, 02 Apr 2013 04:15
[Dialog] Help filtering out non Englist groups in group list
Author: JJ
Date: Tue, 02 Apr 2013 04:15
Date: Tue, 02 Apr 2013 04:15
8 lines
1651 bytes
1651 bytes
I want to use regex to filter out non English groups shown in the "Filtered" tab of main window. For example, groups that start with "es" or "de", or contains ".fr." or ".pl." should be hidden. I'm thinking of a simple regex like this: (?!\.fr\.) But Dialog doesn't support the "!" modifier. Is there other alternative?
Re: [Dialog] Help filtering out non Englist groups in group list
Author: John F. Morse
Date: Tue, 02 Apr 2013 17:21
Date: Tue, 02 Apr 2013 17:21
20 lines
2001 bytes
2001 bytes
On 04/01/2013 11:15 PM, JJ wrote: > I want to use regex to filter out non English groups shown in the "Filtered" > tab of main window. For example, groups that start with "es" or "de", or > contains ".fr." or ".pl." should be hidden. I'm thinking of a simple regex > like this: > > (?!\.fr\.) > > But Dialog doesn't support the "!" modifier. Is there other alternative? What do you see if you do not subscribe to them? -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: [Dialog] Help filtering out non Englist groups in group list
Author: Bernd Rose
Date: Tue, 02 Apr 2013 18:40
Date: Tue, 02 Apr 2013 18:40
18 lines
2006 bytes
2006 bytes
On Tue, 2 Apr 2013 11:15:13 +0700, JJ wrote: > I want to use regex to filter out non English groups shown in the "Filtered" > tab of main window. For example, groups that start with "es" or "de", or > contains ".fr." or ".pl." should be hidden. There are too many groups on most servers to be handled by direct listing of the unwanted strings inside the filter. Filtering from the start of the group name can be done by: ^..[^.].* All Big8 start with more than 2 letters. But the above will filter out us.*, as well. So you'll unwillingly hide English groups with above filter. Filtering on 2-letter-codes somewhere /inside/ the group name would result in even more false positives... Bernd
Re: [Dialog] Help filtering out non Englist groups in group list
Author: JJ
Date: Wed, 03 Apr 2013 03:33
Date: Wed, 03 Apr 2013 03:33
17 lines
2118 bytes
2118 bytes
On Tue, 02 Apr 2013 12:21:07 -0500, John F. Morse wrote: > On 04/01/2013 11:15 PM, JJ wrote: >> I want to use regex to filter out non English groups shown in the "Filtered" >> tab of main window. For example, groups that start with "es" or "de", or >> contains ".fr." or ".pl." should be hidden. I'm thinking of a simple regex >> like this: >> >> (?!\.fr\.) >> >> But Dialog doesn't support the "!" modifier. Is there other alternative? > > > What do you see if you do not subscribe to them? The "Filtered" tab, by default when no search pattern is specified, would show all cached groups from all servers. Both subscribed and unsubscribed. At that state, it's the same as the "All" tab.
Re: [Dialog] Help filtering out non Englist groups in group list
Author: JJ
Date: Wed, 03 Apr 2013 03:58
Date: Wed, 03 Apr 2013 03:58
21 lines
2406 bytes
2406 bytes
On Tue, 2 Apr 2013 20:40:48 +0200, Bernd Rose wrote: > There are too many groups on most servers to be handled by direct > listing of the unwanted strings inside the filter. Filtering from > the start of the group name can be done by: > > ^..[^.].* > > All Big8 start with more than 2 letters. But the above will filter > out us.*, as well. So you'll unwillingly hide English groups with > above filter. Filtering on 2-letter-codes somewhere /inside/ the > group name would result in even more false positives... I don't want to use the character wildcard "." since it's too ambiguous. I know I need to use the actual country code like this: ^(de|fr|pl|za)\.|\.(de|fr|pl|za)\. It will show only groups with those country codes. All I need is the exact opposite of that search pattern. Any group names that happen to use valid country code(s) would also be filtered out, but this is fine by me.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads