🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #151667

Re: [slrn/S-Lang] RegEx for duplicate signature delimiters

#151667
From: DC
Date: Mon, 12 Jul 2004 18:53
28 lines
1787 bytes
Lars Stokholm wrote:
> Can anyone tell me why the following won't match in an article with
> two signature delimiters?

>   string_match (article, "\n-- \n.*\\(\n-- \n\\)", 1);

> Is it a D'OH? :)

> Here's an example:
> #v+
> Hey, how are you?

> -- 
> Lars

> -- 
> Lars
> #v-


Not in answer to your question:  just curious about what you are trying
to accomplish.  Feel free to tell me to mind my own business.  };O)

-- 
DC

I've given up on Emacs several times. It only happened once with Vim.
                                                - Lars Stokholm
Technical Details
Message-ID: <slrncf5nhe.b8a.dcmoose@moosemeat.ca.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.sjc.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
References: <slrn.cf3cr3.70@stokholm.dyndns.dk>

Show Full Headers
Complete Article Headers
Message-ID: <slrncf5nhe.b8a.dcmoose@moosemeat.ca.INVALID>
Subject: Re: [slrn/S-Lang] RegEx for duplicate signature delimiters
Date: Mon, 12 Jul 2004 18:53:35 +0000
From: DC <dcmoose@myrealbox.com>
References: <slrn.cf3cr3.70@stokholm.dyndns.dk>
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.sjc.giganews.com!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!not-for-mail
Newsgroups: news.software.readers
Organization: http://dcicons.fateback.com
Lines: 28
X-Trace: news.uni-berlin.de 8hu8BtrLHVED4256BZopXAj8atk0K9bBNmuK9xuqcD7Rvobkkh
X-Operating-System: Mandrake Linux 10.0 (Kernel 2.6.3-7mdk)
X-Face: 6k$Xf_V^i#2X;
 X~[=Ra6mGRtOw!^s%HmaNj1y5a>YCL"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x"fqU\H_Fy5tk8h[Iq/XW~okpDvCa\E~!fb]{H4j@CxE<vL?4q9cxiK5;
 ZdpI@,Bk)(\e67mAw; L}WCZ/NYSX|R6Jj{omL6KT/$
User-Agent: slrn/0.9.8.0 (Linux)