Article View: news.software.readers
Article #106770Re: [XNews] Problems with quoting
From: Tone Marie Berg
Date: Wed, 24 Jul 2002 17:18
Date: Wed, 24 Jul 2002 17:18
36 lines
2281 bytes
2281 bytes
Graham Drabble <graham.drabble@lineone.net> wrote in
news:Xns9255ABD04CCE9grahamdrabblelineone@ID-77355.user.dfncis.de:
> A challenge for the regexp masters amongst you. Can you get
> Message-ID: <9i2tjus8342h0cba0cqqool0fnnf1ed7ha@4ax.com> to quote
> properly? I currently use
>
> ^\s?([!|#>%]|\w{1,5}\s?>|\}|[+]\s|:(?![()dpb\\-]))\s?
>
> as a quote regexp (borrowed from somebody here) but this one slips
> through despite the fact that if you put that regexp in the tester
> and then paste one of the quoted lines in it matches.
I hardly call myself a regexp master, but the quote regexp I use
handles your example post just fine:
^\s{0,3}([!|#>%}]|-{1,5}>|\w{1,5}\s?>|[+]\s|:(?![()DPb\\\-\]]))\s?
There's just an ever so slight difference, but mine works. ;)
I think I started out with the same regexp you have at some point, and
have tweaked it a few times since then.
Note that I also have the following in my Xnews.ini, so the } are
converted to > upon viewing.
,----[ Misc ]
| QuoteChars=>:]�)}
`----
Tone
--
A. Top posters.
Q. What is the most annoying thing on Usenet?
Technical Details
Message-ID:
<ahmuig.ns.1@ID-86522.user.dfncis.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!sjv4li.cm.chello.NO!not-for-mailReferences:
<Xns9255ABD04CCE9grahamdrabblelineone@ID-77355.user.dfncis.de>Show Full Headers
Complete Article Headers
Message-ID: <ahmuig.ns.1@ID-86522.user.dfncis.de>
Subject: Re: [XNews] Problems with quoting
Date: Wed, 24 Jul 2002 19:18:40 +0200
From: Tone Marie Berg <news@zicon.cjb.net>
References: <Xns9255ABD04CCE9grahamdrabblelineone@ID-77355.user.dfncis.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!sjv4li.cm.chello.NO!not-for-mail
Newsgroups: news.software.readers
Organization: Worshippers of Luu
Lines: 35
Reply-To: <zicon@suespammers.org>
NNTP-Posting-Host: sjv4li.cm.chello.no (213.46.194.76)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1027531287 31474105 213.46.194.76 (16 [86522])
X-Face: {QAYQo]>"3#2mq%$lvKAi{S}m~^}>@t]'zb6]=ii[ev.7b[QF1gB#x#]-8wogQ;PX9?#Jzg&KI=L20:h"QA0Le&it0uzZcw4o*;`.o:wQz9"j3jCySA6k"gl58"b,SjN>S4`m
X-Do-Archive: Yes