Discussion:
How to filter on number of lines in a post?
(too old to reply)
h***@invalid.com
2024-07-13 00:11:55 UTC
Permalink
I don't see that capability listed anywhere.
h***@invalid.com
2024-07-13 01:22:25 UTC
Permalink
Post by h***@invalid.com
I don't see that capability listed anywhere.
I guess I should have added that I'm using ver. 1.93
Ralph Fox
2024-07-13 01:28:27 UTC
Permalink
Subject: How to filter on number of lines in a post?
This filter expression means between 7 and 21 lines
[7,21]

This filter expression means 100 lines or more
[100,*]

This filter expression means up to 75 lines
[*,75]
Path: ...!news.highwinds-media.com!fx03.iad.POSTED!not-for-mail
X-Complaints-To: https://www.astraweb.com/aup
*** WARNING ***

When you get headers, your news server does not always put the number
of lines in the headers. This means that some headers will incorrectly
*appear* to have 0 lines before the body is downloaded.

Agent will correct the number of lines when it retrieves the body
and counts the actual number of lines in the body it gets.

But because filtering happens *before* the body is downloaded, the
filter will incorrectly see some posts as having 0 lines when they
really have more.
I don't see that capability listed anywhere.
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Help >> Index >> Filters >> Characters Used in Expressions

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QUOTE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[...] Square brackets in expressions can be used to represent a
quantifiable range (e.g., [*,100] means 100 lines or less).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QUOTE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Help >> Index >> Filters >> Agent's Expression Language

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QUOTE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Other Operators
...
[L,H] To match a range of numbers, enclose the lowest and highest
numbers in the range (separated by a comma) in square
brackets.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QUOTE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
Kind regards
Ralph Fox
🦊

Iack would be a gentleman, if he could but speak French.
h***@invalid.com
2024-07-13 01:37:25 UTC
Permalink
Post by Ralph Fox
Subject: How to filter on number of lines in a post?
This filter expression means between 7 and 21 lines
[7,21]
This filter expression means 100 lines or more
[100,*]
This filter expression means up to 75 lines
[*,75]
Path: ...!news.highwinds-media.com!fx03.iad.POSTED!not-for-mail
X-Complaints-To: https://www.astraweb.com/aup
*** WARNING ***
When you get headers, your news server does not always put the number
of lines in the headers. This means that some headers will incorrectly
*appear* to have 0 lines before the body is downloaded.
Agent will correct the number of lines when it retrieves the body
and counts the actual number of lines in the body it gets.
But because filtering happens *before* the body is downloaded, the
filter will incorrectly see some posts as having 0 lines when they
really have more.
I don't see that capability listed anywhere.
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Help >> Index >> Filters >> Characters Used in Expressions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QUOTE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[...] Square brackets in expressions can be used to represent a
quantifiable range (e.g., [*,100] means 100 lines or less).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QUOTE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Help >> Index >> Filters >> Agent's Expression Language
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QUOTE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Other Operators
...
[L,H] To match a range of numbers, enclose the lowest and highest
numbers in the range (separated by a comma) in square
brackets.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ QUOTE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How in the *&^$)_$ did I miss that?

I'm glad you're around.

Loading...