Article View: news.software.readers
Article #252101Re: [Xnews] need regex for problem posts - please read
From: BookWight
Date: Sun, 25 Nov 2012 19:17
Date: Sun, 25 Nov 2012 19:17
23 lines
1858 bytes
1858 bytes
Wandering along the edges of news.software.readers, I found the following
bit of electronic flotsam written by Bert <bert@iphouse.com> in
news:XnsA11579F1F8A7FVeebleFetzer@216.250.188.141:
> In news:XnsA11562F60E08Cbookwight@216.151.153.169 BookWight
> <Bookwight@publicspam.com> wrote:
>
>> I'd like to have a regex expression which filters any post where, in
>> the first 20 or 30 characters, there is no (space, period, left
>> bracket, right bracket, @, or dash)
>
> Something like
>
> ^[^ \.\[\]@-]{20,}
>
> From the line start, twenty or more characters that aren't a space,
> period, left or right bracket, @ or -.
>
> Warning: Done from memory.
>
tried your suggestion - seems to be working fine, precisely as intended
many thanks (also to the other follow-up posters)
Technical Details
Message-ID:
<XnsA11672EADFC88bookwight@216.151.153.164>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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mailReferences:
<XnsA11562F60E08Cbookwight@216.151.153.169> <XnsA11579F1F8A7FVeebleFetzer@216.250.188.141>Show Full Headers
Complete Article Headers
Message-ID: <XnsA11672EADFC88bookwight@216.151.153.164> Subject: Re: [Xnews] need regex for problem posts - please read Date: Sun, 25 Nov 2012 19:17:48 +0000 From: BookWight <Bookwight@publicspam.com> References: <XnsA11562F60E08Cbookwight@216.151.153.169> <XnsA11579F1F8A7FVeebleFetzer@216.250.188.141> 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.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news.astraweb.com!border6.newsrouter.astraweb.com!not-for-mail Newsgroups: news.software.readers Organization: Dewey Decimal System User-Agent: Xnews/2006.08.24 Lines: 23 NNTP-Posting-Host: 6f7869f6.news.astraweb.com X-Trace: DXC=3UOAXoL6XV1CObSL`Ra@h6L?0kYOcDh@:NERN?j1j; 31[ln[<B]GNZ03; 2?KCY2IR2Z0n; TMRb@N2dHcS; 4<P0V>gQAeJZXDH:2PaSGgHE0Z9< X-Original-Bytes: 1583