Article View: news.software.readers
Article #219151Re: 40tude Dialog (regex query): How to test for no vowels in Subject?
From: Bernd Rose
Date: Sat, 12 Apr 2008 06:27
Date: Sat, 12 Apr 2008 06:27
15 lines
1739 bytes
1739 bytes
On Fri, 11 Apr 2008 02:37:52 -0500, VanguardLH wrote:
> So if the Subject doesn't have one, or more, vowels then the post gets
> deleted. For Dialog in a scoring rule, I first thought of:
>
> !delete Subject [^aAeEiIoOuU]
!delete Subject {(^Re:|^)[^aeiou]*$}
Replace the asterisk by a plus-sign, if you want to keep posts with
empty subject. As Dialog defaults to case-insensitive matching, you
shouldn't need to include the upper-case letters in above string.
HTH.
Bernd
Technical Details
Message-ID:
<1hws4gmk66bug$.dlg@b.rose.tmpbox.news.arcor.de>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!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mailReferences:
<ftn4ge$8nj$1@registered.motzarella.org>Show Full Headers
Complete Article Headers
Message-ID: <1hws4gmk66bug$.dlg@b.rose.tmpbox.news.arcor.de> Subject: Re: 40tude Dialog (regex query): How to test for no vowels in Subject? Date: Sat, 12 Apr 2008 08:27:29 +0200 From: Bernd Rose <b.rose.tmpbox@expires-2008-04-30.arcornews.de> References: <ftn4ge$8nj$1@registered.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Newsgroups: news.software.readers User-Agent: 40tude_Dialog/2.0.15.41 (c1c78869.84.374) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Lines: 15 Organization: Arcor NNTP-Posting-Date: 12 Apr 2008 08:26:30 CEST NNTP-Posting-Host: bfc938d9.newsspool3.arcor-online.net X-Trace: DXC=o<e]^Mi2al_=>bdbdS?M0YMcF=Q^Z^V3X4Fo<]lROoRQ^; 5]aA^R6>R0JUOjWgg?QWBYf[Tl<>RjZ2KkB4f=kKDQa9=ZaR<; 4L[ X-Complaints-To: usenet-abuse@arcor.de