🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243247

Re: Dialog (regex defect): Action rule using "Header" scans into body of post

#243247
From: Tom B.
Date: Tue, 16 Nov 2010 15:24
22 lines
2176 bytes
Tom B. wrote in "news.software.readers" ...

> > So I'm still looking for a viable regex to look for the specified string
> > ONLY within the header that is identified, and possibly with that string
> > at the end of the line (for THAT specified header's value).
> 
> $ also has compiler options but I don't think there is an option 
> for the user. So in multi line mode you are probably stuck with $ 
> at end of subject - the whole article in multi line mode.
> 
> Using "\r\n" instead of "$" may work (seems to work with Gravity's 
> PCREs). Or some other hack like "[^\w ]" (include the space). I 
> don't really know, I only tested them once.
> 
> 

I should have added the above won't work if the header folds :)

-- 
Tom B.      * * * Gravity Web Pages  * * *
http://mpgravity.sourceforge.net/ (official site)
http://gravity.tbates.org/
Technical Details
Message-ID: <MPG.274c6c5434367d369896b3@news.individual.net>
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.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <ibieuc$fa1$1@news.albasani.net> <4jnelelbf8ic.dlg@mid.crommatograph.info> <ibrutm$26h$1@news.albasani.net> <ibt23d$lq6$1@news.albasani.net> <MPG.274c0684271c22009896b2@news.individual.net>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.274c6c5434367d369896b3@news.individual.net>
Subject: Re: Dialog (regex defect): Action rule using "Header" scans into body of post
Date: Tue, 16 Nov 2010 10:24:53 -0500
From: "Tom B." <nfn03862@naples.net>
References: <ibieuc$fa1$1@news.albasani.net> <4jnelelbf8ic.dlg@mid.crommatograph.info> <ibrutm$26h$1@news.albasani.net> <ibt23d$lq6$1@news.albasani.net> <MPG.274c0684271c22009896b2@news.individual.net>
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.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder1.cambriumusenet.nl!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.201.147.78.MISMATCH!feeder.news-service.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 22
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net rKi3xrfoimFXfd1tTPHhSQBJxFiM3bg0D+mQeLkJfE7F9aGY0=
Cancel-Lock: sha1:m+8ZDAMHdeMxKuRwR8MNvGrN088=
User-Agent: MicroPlanet-Gravity/3.0.4
X-Original-Bytes: 1906