🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #223260

Re: [Dialog] Regex Not Working

#223260
From: teabag
Date: Mon, 14 Jul 2008 05:06
18 lines
1751 bytes
On Sun, 13 Jul 2008 18:28:29 -0500, Sqwertz wrote:

> Why doesn't:
> 
> c
> 
> Not work on:
> 
> From: sf
> That's the complete From: line.  No whitespace after 'sf'.
> 
> It matches when I use Dialog's regex tester.
> 
> -sw

it should read:
!delete From {^sf$}
the curly brackets tell Dialog that it's a regular expression.
Technical Details
Message-ID: <15q59ey2qjqe8$.dlg@home.attbi.invalid>
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!number1.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
References: <130708.182829nsr66.656@sqwertz.com>

Show Full Headers
Complete Article Headers
Message-ID: <15q59ey2qjqe8$.dlg@home.attbi.invalid>
Subject: Re: [Dialog] Regex Not Working
Date: Sun, 13 Jul 2008 22:06:32 -0700
From: teabag <tjluders@myrealbox.com>
References: <130708.182829nsr66.656@sqwertz.com>
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!number1.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 14 Jul 2008 00:05:32 -0500
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.41
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 18
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 67.160.199.103
X-Trace: sv3-FQ5125PeVePiH5q9OHpVw7IQidBCjRnSkoWluyhvghhsjEXa5Nv3ianzPDWSF1rm8r4olHnZc5qJ09I!ta1CJFJtBPDmxMyH2vgawzjdUIh5qBy3aaifga6wJMopR3Dldj+HOw558QJmM5C7hytfjYJZf9K7!zw5R+B5eKBTHF1HooTVryQ==
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.39