Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

It's not hard to admit errors that are [only] cosmetically wrong. -- J. K. Galbraith


computers / alt.usenet.offline-reader.forte-agent / Re: Regex filter translation help

SubjectAuthor
* Regex filter translation helpjames moffat
+- Re: Regex filter translation helpKenW
+* Re: Regex filter translation helpManfred Polak
|+* Re: Regex filter translation helpCharlie Roberts
||`- Re: Regex filter translation helpManfred Polak
|`- Re: Regex filter translation helpjames moffat
+- Re: Regex filter translation helpArthur T.
`- Re: Regex filter translation helpArthur T.

1
Regex filter translation help

<52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5021&group=alt.usenet.offline-reader.forte-agent#5021

  copy link   Newsgroups: alt.usenet.offline-reader.forte-agent
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!feeder.cambriumusenet.nl!feed.tweaknews.nl!posting.tweaknews.nl!fx13.ams1.POSTED!not-for-mail
From: spam.spam@distributel.net (james moffat)
Newsgroups: alt.usenet.offline-reader.forte-agent
Subject: Regex filter translation help
Message-ID: <52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 13
X-Complaints-To: abuse@tweaknews.nl
NNTP-Posting-Date: Thu, 11 May 2023 19:12:03 UTC
Organization: Tweaknews
Date: Thu, 11 May 2023 13:12:01 -0600
X-Received-Bytes: 1107
 by: james moffat - Thu, 11 May 2023 19:12 UTC

A regex was offer in another group for some of the spam being posted
in there.
${0-9]{5}
later revised to {0-9]{5}$
that is supposed to filter messages that have 5 (or more) numbers at
the end of the subject line.
It would be helpful in another group that has a huge amount of those
type messages , but when attempting to add it as a filter into agent
it will give me a syntax error.
Anyone willing to figure out how to get this to work as a filter in
agent?
thanks for your time
Me

Re: Regex filter translation help

<9ukq5itpmv6v4au0nn8cgqnn50s8u5fb4q@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5022&group=alt.usenet.offline-reader.forte-agent#5022

  copy link   Newsgroups: alt.usenet.offline-reader.forte-agent
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx15.iad.POSTED!not-for-mail
From: ken1943@invalid.net (KenW)
Newsgroups: alt.usenet.offline-reader.forte-agent
Subject: Re: Regex filter translation help
Organization: Home
Message-ID: <9ukq5itpmv6v4au0nn8cgqnn50s8u5fb4q@4ax.com>
References: <52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 21
X-Complaints-To: abuse(at)newshosting.com
NNTP-Posting-Date: Thu, 11 May 2023 20:46:06 UTC
Date: Thu, 11 May 2023 14:46:11 -0600
X-Received-Bytes: 1267
 by: KenW - Thu, 11 May 2023 20:46 UTC

On Thu, 11 May 2023 13:12:01 -0600, james moffat
<spam.spam@distributel.net> wrote:

>A regex was offer in another group for some of the spam being posted
>in there.
>${0-9]{5}
>later revised to {0-9]{5}$
>that is supposed to filter messages that have 5 (or more) numbers at
>the end of the subject line.
>It would be helpful in another group that has a huge amount of those
>type messages , but when attempting to add it as a filter into agent
>it will give me a syntax error.
>Anyone willing to figure out how to get this to work as a filter in
>agent?
>thanks for your time
>Me

Try Author:{0-9]{5}$

KenW

Re: Regex filter translation help

<20230511.225949.auof.9841@polak.dyn.dhs.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5023&group=alt.usenet.offline-reader.forte-agent#5023

  copy link   Newsgroups: alt.usenet.offline-reader.forte-agent
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!lilly.ping.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ma.po@gmx.com (Manfred Polak)
Newsgroups: alt.usenet.offline-reader.forte-agent
Subject: Re: Regex filter translation help
Date: Thu, 11 May 2023 22:59:45 +0200
Lines: 20
Message-ID: <20230511.225949.auof.9841@polak.dyn.dhs.org>
References: <52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com>
Reply-To: ma.po@gmx.de
X-Trace: individual.net kvToCxeBPslKjdrEWLS+xg2Mf1NOD1FbCcZIq7e+sAU0En5g==
Cancel-Lock: sha1:dWezWUFTBe9Wls9lbhBlOn6T7R8= sha1:WLHfrk76zyvNQm23GfPTUXFlmzA=
User-Agent: ForteAgent/8.00.32.1272
 by: Manfred Polak - Thu, 11 May 2023 20:59 UTC

james moffat wrote:

>A regex was offer in another group for some of the spam being posted
>in there.
>${0-9]{5}
>later revised to {0-9]{5}$

First, you can't combine square and curly brackets like here: {...].
Second, Agent's RegEx dialect is not very capable. You cant't use
{5} as a quantifier.

>that is supposed to filter messages that have 5 (or more) numbers at
>the end of the subject line.

Try this:

subject: {[0-9][0-9][0-9][0-9][0-9]+$}

Manfred

Re: Regex filter translation help

<vl9r5itgliufk7jvdeh4rtfcl2oplsnrom@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5024&group=alt.usenet.offline-reader.forte-agent#5024

  copy link   Newsgroups: alt.usenet.offline-reader.forte-agent
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer02.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
From: arthur@munged.invalid (Arthur T.)
Newsgroups: alt.usenet.offline-reader.forte-agent
Subject: Re: Regex filter translation help
Message-ID: <vl9r5itgliufk7jvdeh4rtfcl2oplsnrom@4ax.com>
References: <52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 27
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 12 May 2023 02:45:04 UTC
Date: Thu, 11 May 2023 22:45:24 -0400
X-Received-Bytes: 1635
 by: Arthur T. - Fri, 12 May 2023 02:45 UTC

In Message-ID:<52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com>,
james moffat <spam.spam@distributel.net> wrote:

>A regex was offer in another group for some of the spam being posted
>in there.
>${0-9]{5}
>later revised to {0-9]{5}$
>that is supposed to filter messages that have 5 (or more) numbers at
>the end of the subject line.
>It would be helpful in another group that has a huge amount of those
>type messages , but when attempting to add it as a filter into agent
>it will give me a syntax error.
>Anyone willing to figure out how to get this to work as a filter in
>agent?

First, you obviously didn't copy/paste it correctly as there's a ]
with no [.

Second, it shouldn't work because Agent's REs don't support the
repetition number. And "$" matches the end of the field; "^" matches
the beginning.

So, you might try:
subject: {[0-9][0-9][0-9][0-9][0-9]$}

--
Arthur T. - ar23hur "at" pobox "dot" com

Re: Regex filter translation help

<j4ar5i97cvqdj6jr60brf6s0tka1kg0uhs@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5025&group=alt.usenet.offline-reader.forte-agent#5025

  copy link   Newsgroups: alt.usenet.offline-reader.forte-agent
Path: i2pn2.org!i2pn.org!news.neodome.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx17.iad.POSTED!not-for-mail
From: arthur@munged.invalid (Arthur T.)
Newsgroups: alt.usenet.offline-reader.forte-agent
Subject: Re: Regex filter translation help
Message-ID: <j4ar5i97cvqdj6jr60brf6s0tka1kg0uhs@4ax.com>
References: <52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 8
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Fri, 12 May 2023 02:47:16 UTC
Date: Thu, 11 May 2023 22:47:36 -0400
X-Received-Bytes: 944
 by: Arthur T. - Fri, 12 May 2023 02:47 UTC

In Message-ID:<52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com>,
james moffat <spam.spam@distributel.net> wrote:

And I'm going to have to remember to read *all* of the replies before
piping up. Sorry.

--
Arthur T. - ar23hur "at" pobox "dot" com

Re: Regex filter translation help

<g0ss5ip7oash8ver446do68veiq3aum0i8@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5026&group=alt.usenet.offline-reader.forte-agent#5026

  copy link   Newsgroups: alt.usenet.offline-reader.forte-agent
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx41.iad.POSTED!not-for-mail
From: croberts@gmail.com (Charlie Roberts)
Newsgroups: alt.usenet.offline-reader.forte-agent
Subject: Re: Regex filter translation help
Message-ID: <g0ss5ip7oash8ver446do68veiq3aum0i8@4ax.com>
References: <52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com> <20230511.225949.auof.9841@polak.dyn.dhs.org>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Antivirus: Avast (VPS 230512-2, 5/12/2023), Outbound message
X-Antivirus-Status: Clean
Lines: 22
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Fri, 12 May 2023 16:59:03 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Fri, 12 May 2023 12:59:03 -0400
X-Received-Bytes: 1235
 by: Charlie Roberts - Fri, 12 May 2023 16:59 UTC

On Thu, 11 May 2023 22:59:45 +0200, Manfred Polak <ma.po@gmx.com>
wrote:

>First, you can't combine square and curly brackets like here: {...].
>Second, Agent's RegEx dialect is not very capable. You cant't use
>{5} as a quantifier.
>
.....
>
>Try this:
>
>subject: {[0-9][0-9][0-9][0-9][0-9]+$}

Could you please explain the role of the "+"?

tia
cr
>

--
This email has been checked for viruses by Avast antivirus software.
www.avast.com

Re: Regex filter translation help

<5i8t5i12rof6onmjseq74h2of40st2a114@4ax.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5027&group=alt.usenet.offline-reader.forte-agent#5027

  copy link   Newsgroups: alt.usenet.offline-reader.forte-agent
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!feeder.cambriumusenet.nl!feed.tweaknews.nl!posting.tweaknews.nl!fx15.ams1.POSTED!not-for-mail
From: spam.spam@distributel.net (james moffat)
Newsgroups: alt.usenet.offline-reader.forte-agent
Subject: Re: Regex filter translation help
Message-ID: <5i8t5i12rof6onmjseq74h2of40st2a114@4ax.com>
References: <52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com> <20230511.225949.auof.9841@polak.dyn.dhs.org>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 32
X-Complaints-To: abuse@tweaknews.nl
NNTP-Posting-Date: Fri, 12 May 2023 20:39:57 UTC
Organization: Tweaknews
Date: Fri, 12 May 2023 14:35:12 -0600
X-Received-Bytes: 1592
 by: james moffat - Fri, 12 May 2023 20:35 UTC

On Thu, 11 May 2023 22:59:45 +0200, Manfred Polak <ma.po@gmx.com>
wrote:

>james moffat wrote:
>
>>A regex was offer in another group for some of the spam being posted
>>in there.
>>${0-9]{5}
>>later revised to {0-9]{5}$
>
>First, you can't combine square and curly brackets like here: {...].
>Second, Agent's RegEx dialect is not very capable. You cant't use
>{5} as a quantifier.
>

Old age syndrome. A combination of fat fingers and bad eye sight
combining to mistype the {[ ]}
sorry.

>>that is supposed to filter messages that have 5 (or more) numbers at
>>the end of the subject line.
>
>Try this:
>
>subject: {[0-9][0-9][0-9][0-9][0-9]+$}
>
>
>Manfred
No syntax error, so will try it out and see if it is functioning as I
intended it to.
thanks for your time
Me

Re: Regex filter translation help

<20230513.002542.auof.9842@polak.dyn.dhs.org>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=5028&group=alt.usenet.offline-reader.forte-agent#5028

  copy link   Newsgroups: alt.usenet.offline-reader.forte-agent
Path: i2pn2.org!i2pn.org!news.samoylyk.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ma.po@gmx.com (Manfred Polak)
Newsgroups: alt.usenet.offline-reader.forte-agent
Subject: Re: Regex filter translation help
Date: Sat, 13 May 2023 00:25:38 +0200
Lines: 11
Message-ID: <20230513.002542.auof.9842@polak.dyn.dhs.org>
References: <52fq5idl8i67o5n5u24u516uottvdchr7h@4ax.com> <20230511.225949.auof.9841@polak.dyn.dhs.org> <g0ss5ip7oash8ver446do68veiq3aum0i8@4ax.com>
Reply-To: ma.po@gmx.de
X-Trace: individual.net twyT7pSAG2YqaHjbLYzIogdB2XxjGBy3Flbnlc9cK8UGSbCA==
Cancel-Lock: sha1:J/6FJifF3zzPsJboeXGqDB1ELSs= sha1:ZgU+QKwPu4iaGtKTBNHU+bld9pY=
User-Agent: ForteAgent/8.00.32.1272
 by: Manfred Polak - Fri, 12 May 2023 22:25 UTC

Charlie Roberts wrote:

>>subject: {[0-9][0-9][0-9][0-9][0-9]+$}
>
>Could you please explain the role of the "+"?

It means "one or more instances of the preceding term", in this case
"one or more digits".

Manfred

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor