Article View: news.software.readers
Article #120494Re: [Xnews] Regular expression scoring help?
From: Randolph Carter
Date: Fri, 21 Feb 2003 07:17
Date: Fri, 21 Feb 2003 07:17
23 lines
1552 bytes
1552 bytes
Murray Peterson <mwp@home.com.invalid> wrote in
news:Xns9328F0E3F498farkle@24.71.223.159:
> Randolph Carter <azoblue@myrealboxDOT.com> wrote in
> news:Xns9328ED0A14845sethralavode@68.1.17.6:
>
>> if subject is X characters long, and does NOT contain a space, kill
>> it.
>
> Say X is 50, this will kill any subject that length or longer that has
> no space character (which is what I assume you want):
>
> Score:: -9999
> Subject: [^ ]{50,}
>
Ergh. Exactly what I was looking for.
Thank you!
Rereading the Regex faqs,
Randolph Carter
Technical Details
Message-ID:
<Xns93292F32402Asethralavode@68.1.17.6>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!news-xfer.cox.net!p01!news2.east.cox.net.POSTED!53ab2750!not-for-mailReferences:
<Xns9328ED0A14845sethralavode@68.1.17.6> <Xns9328F0E3F498farkle@24.71.223.159>Show Full Headers
Complete Article Headers
Message-ID: <Xns93292F32402Asethralavode@68.1.17.6> Subject: Re: [Xnews] Regular expression scoring help? Date: Fri, 21 Feb 2003 07:17:03 GMT From: Randolph Carter <azoblue@myrealboxDOT.com> References: <Xns9328ED0A14845sethralavode@68.1.17.6> <Xns9328F0E3F498farkle@24.71.223.159> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!news-xfer.cox.net!p01!news2.east.cox.net.POSTED!53ab2750!not-for-mail Newsgroups: news.software.readers User-Agent: Xnews/5.04.25 Lines: 22 NNTP-Posting-Host: 68.0.133.17 X-Complaints-To: abuse@cox.net X-Trace: news2.east.cox.net 1045811823 68.0.133.17 (Fri, 21 Feb 2003 02:17:03 EST) NNTP-Posting-Date: Fri, 21 Feb 2003 02:17:03 EST Organization: Cox Communications