🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Sqwertz Sun, 13 Jul 2008 23:28
[Dialog] Regex Not Working
#223252
Author: Sqwertz
Date: Sun, 13 Jul 2008 23:28
12 lines
1518 bytes
Why doesn't:

!delete From ^sf$

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
Re: [Dialog] Regex Not Working
#223257
Author: Blinky the Shark
Date: Mon, 14 Jul 2008 02:54
19 lines
1641 bytes
Sqwertz wrote:

> Why doesn't:
> 
> !delete From ^sf$
> 
> Not work on:
> 
> From: sf

Because she has a hex on you.  :)


-- 
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Need a new news feed?  http://blinkynet.net/comp/newfeed.html
Re: [Dialog] Regex Not Working
#223260
Author: 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.
Re: [Dialog] Regex Not Working
#223361
Author: Sqwertz
Date: Thu, 17 Jul 2008 00:29
24 lines
1866 bytes
teabag <tjluders@myrealbox.com> wrote:

> 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.

Duh.  Thanks.

-sw
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