🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #230639

Re: Dialog: Can't get regex to work on From header for oddball case

#230639
From: VanguardLH
Date: Wed, 25 Feb 2009 15:34
33 lines
2833 bytes
vg4cysss7001 wrote:

> In article <go17uo$1j9$1@news.motzarella.org>, VanguardLH <V@nguard.LH> 
> writes
> [snip]
>>I've tried both:
>>
>>!ignore From {\bWeb Server.*<.+server.*>}
>>
>>and
>>
>>!ignore From {\bWeb Server.*<.*server.*>}
> 
> I a not fully compos mentis right now, but should not the "." after 
> "Server" be "escaped" with a "\" (backslash)?

I am not including the period character anywhere in my regex - so there
is no need to escape one because there isn't one.

The periods in my regex are part of the wildcarding.  The dot means any
character followed by the + means 1, or more, instances of any character
or followed by the * means zero, or more, instances of any character.
So I *do* need the single dot to represent any character and then I
modify it a + or * to account for repeated instances of any character.
A dot by itself represents just 1 character at that particular position
in the string.

.	Any character that this position in string.
.+	1, or more, of any character starting at this position in string.
.*	0, or more, of any character starting at this position in string.

I am using the dot for what it is supposed to represent, and then
modifying it regarding count.
Technical Details
Message-ID: <go3od1$q9d$1@news.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!transit4.hitnews.eu!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
References: <go17uo$1j9$1@news.motzarella.org> <81s+0vVpgSpJFwzu@spam.filter>

Show Full Headers
Complete Article Headers
Message-ID: <go3od1$q9d$1@news.motzarella.org>
Subject: Re: Dialog: Can't get regex to work on From header for oddball case
Date: Wed, 25 Feb 2009 09:34:03 -0600
From: VanguardLH <V@nguard.LH>
References: <go17uo$1j9$1@news.motzarella.org> <81s+0vVpgSpJFwzu@spam.filter>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!transit4.hitnews.eu!feeder.news-service.com!news.motzarella.org!motzarella.org!news.motzarella.org!not-for-mail
Newsgroups: news.software.readers
Organization: 0.35MOA sniper at loose in Usenet
Lines: 33
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.eternal-september.org
 U2FsdGVkX1/wBRAnT4f+2r88jwSbPpxGjxLdUpJfvmCbwD58Np5dedypx9f3TYEq+Hl9OEF1tnOTKpS6sVldEqh9mt0OuDh2YPI397Z6f31hJo3tRnl+IJVeC8EOGmfA/Qf0YOCYvDBEuQIeXmdu2A==
X-Complaints-To: Please send complaints to abuse@motzarella.org with full
 headers
NNTP-Posting-Date: Wed, 25 Feb 2009 15:33:53 +0000 (UTC)
Keywords: VanguardLH VLH811
X-Antivirus-Status: Not-Tested
X-Auth-Sender: U2FsdGVkX181rkcLy64jXzZ9wIiyuy5wIR+sgMw2OBwZeuUOFtMLFA==
X-Antivirus: avast! (VPS 090225-0, 02/25/2009), Outbound message
Cancel-Lock: sha1:0UeyoSyOwZPKQfDAGSaEqmN3XcA=
User-Agent: 40tude_Dialog/2.0.15.1
X-MOTD: It is wiser to remain silent and let others ponder your ignorance than
 to speak and remove all doubt