Thread View: news.software.readers
3 messages
3 total messages
Started by Fred Goldberg
Sun, 19 Jun 2005 21:44
XNews regex missing "and" function
Author: Fred Goldberg
Date: Sun, 19 Jun 2005 21:44
Date: Sun, 19 Jun 2005 21:44
6 lines
1428 bytes
1428 bytes
When filtering the available newsgroups in XNews, the regex functions such as the "or" pipe (|) appear to work nicely. However, I would like to make use of the "and" ampersand (&) function. This does not appear to be working. Am I missing something? Thanks. Fred
Re: XNews regex missing "and" function
Author: Murray Peterson
Date: Mon, 20 Jun 2005 01:19
Date: Mon, 20 Jun 2005 01:19
19 lines
1784 bytes
1784 bytes
Fred Goldberg <ackcomm@JUNKcomcast.net> wrote in
news:Xns967AB46EF4235fredackcommcom@216.196.97.136:
> When filtering the available newsgroups in XNews, the regex functions
> such as the "or" pipe (|) appear to work nicely. However, I would like
> to make use of the "and" ampersand (&) function. This does not appear
> to be working. Am I missing something? Thanks.
You are confused -- the regex language has no such thing as an & operator
that acts as a logical AND operator. The entire expression acts as a the
AND operator, with the OR ("|") allowing you to have optional portions.
Read scoring.txt in your XNews directory -- it does describe a boolean AND
available via a single colon following the score specifier.
--
Murray Peterson
Email: murray.spamtrap2@shaw.ca
URL: http://members.shaw.ca/murraypeterson/
Re: XNews regex missing "and" function
Author: sittingduck
Date: Mon, 20 Jun 2005 03:26
Date: Mon, 20 Jun 2005 03:26
10 lines
1640 bytes
1640 bytes
Fred Goldberg wrote: > When filtering the available newsgroups in XNews, the regex functions such > as the "or" pipe (|) appear to work nicely. However, I would like to make > use of the "and" ampersand (&) function. This does not appear to be > working. Am I missing something? Thanks. By default, each individual test must pass in order for the scoring rule to apply, i.e., boolean AND is the default. If you want to use boolean OR instead, add an extra : after the Score keyword. For example,
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