Article View: news.software.readers
Article #88607XNews : scoring LINES with regular expression
From: pt
Date: Sat, 01 Dec 2001 21:21
Date: Sat, 01 Dec 2001 21:21
15 lines
1273 bytes
1273 bytes
In XNews, is it possible to score based on the [xx/yy] contents of
the Lines column?? I would like to give extra points to multi-parts which
have all parts intact, so an expression like :
Score: 3000
Lines: \[(\d+)\/\1\]
would give 3000 pts to any post where the available # or parts (the
"xx" in [xx/yy]) is the same as the total number of parts (the "yy" in
[xx/yy]). Use "$1" instead of "\1" if using Perlish capturing.
--
Remove "/no-spam/" to reply.
Technical Details
Message-ID:
<9ubhkf$ka5$1@slb7.atl.mindspring.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!news.mindspring.net!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <9ubhkf$ka5$1@slb7.atl.mindspring.net> Subject: XNews : scoring LINES with regular expression Date: Sat, 01 Dec 2001 21:21:19 +0000 From: pt <mnemotronic@mind/no-spam/spring.com> 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!cyclone.bc.net!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!news.mindspring.net!not-for-mail Newsgroups: news.software.readers Organization: MindSpring Enterprises Lines: 14 NNTP-Posting-Host: c7.ae.e1.bc User-Agent: Xnews/4.11.09