Article View: news.software.readers
Article #219253Re: Regex to detect long subject lines
From: Blinky the Shark
Date: Tue, 15 Apr 2008 04:44
Date: Tue, 15 Apr 2008 04:44
28 lines
2228 bytes
2228 bytes
Mike Dee wrote:
> Ed <apostle@REMOVETHISpeculiar.homeip.net> wrote:
>
>> I've been trying to come up with a regex that will trap overly long
>> subject lines but honestly I'm terrible at regular expression syntax
>
> From the Xnews manual, under the section on Regular Expression:
>
> 3) Quantifiers (match how many times)
>
> * Match 0 or more times
> + Match 1 or more times
> ? Match 1 or 0 time (i.e., optionally match) {n} Match exactly n
> times
> {n,} Match at least n times
> {n,m} Match at least n but not more than m times
I *think* that's PCRE; I dunno if that's coincidental (if I'm right)
because I dunno if Xnews is totally compatible.
--
Blinky
Killing all posts from Google Groups
The Usenet Improvement Project: http://improve-usenet.org
Blinky: http://blinkynet.net
Technical Details
Message-ID:
<pan.2008.04.15.04.44.40.130227@thurston.blinkynet.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!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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<Xns9A808EE42A7682362352@127.0.0.1> <Xns9A816D4A1C13Bemteedee@193.201.53.67>Show Full Headers
Complete Article Headers
Message-ID: <pan.2008.04.15.04.44.40.130227@thurston.blinkynet.net> Subject: Re: Regex to detect long subject lines Date: Mon, 14 Apr 2008 21:44:41 -0700 From: Blinky the Shark <no.spam@box.invalid> References: <Xns9A808EE42A7682362352@127.0.0.1> <Xns9A816D4A1C13Bemteedee@193.201.53.67> 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!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Newsgroups: news.software.readers Organization: http://blinkynet.net http://improve-usenet.org Lines: 28 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: individual.net cwFCcB089J3cfDKaAlLrSQQymCi1ekDWygiW7DLojwmRzrTJ32 Cancel-Lock: sha1:864SavZ/5fSltUTfHKy4n4R6iY0= User-Agent: Pan/0.14.2.91 X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%; )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E X-OS: Mandriva Linux 2006.0; kernel 2.6.12 X-WebTV-Stationery: Standard; BGColor=green; TextColor=green X-The-Usenet-Improvement-Project: http://improve-usenet.org