🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #41956

Re: `>' and `> ' adaptive quoting

#41956
From: Jeroen Scheerder
Date: Wed, 08 Jul 1998 00:00
26 lines
2203 bytes
John Moreno <phenix@interpath.com>:

[..]

> Basically it's fairly simple - recognizing the quote string isn't that
> difficult as long as everybody uses '> " or "> "

Actually, it is even fairly simple for just about *any* but the most
bizarre quoting styles to recognize the quote prefix, and to implement
proper quote-sensitive rewrapping.

You mention `par' <http://http.cs.berkeley.edu/~amc/Par/>, which (while
it happens to be a fairly complex piece of programming) shows that it's
(1) quite possible to solve this problem and (2) that it has been
actually solved.  It can be done much simpler than in par, which is a
much more general paragraph reformatter than just a quote-sensitive
rewrapper.


-- J$ (prefix char regex... quote region identification... region prefix
       stripping, region rewrapping, region prefix restoration...)
-- 
dash dash space
this is my .sig                                         it's not so .big

Technical Details
Message-ID: <1dbuwa6.8ijrkctulm7wN@cats.xs4all.nl>
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!not-for-mail
References: <slrn6oro3q.fij.TroubleEveryDay@user1.teleport.com> <1db0orb.1cuui0s1iha1y4N@roxboro0-058.dyn.interpath.net> <19980707.170221.5b3.rnr.w164w_-_@locutus.ofB.ORG> <1dbt61a.1eetpif1da5x0sN@roxboro0-011.dyn.interpath.net> <6nukf0$2m6$1@chinet.chinet.com> <1dbtih9.1pr6uspxxhii9N@roxboro0-011.dyn.interpath.net> <2A21452C70E89BEF.E1D2F9C9F1DA41EB.41A2E1FBD4556B1D@library-proxy.airnews.net> <1dbuc5x.vtk3qx1ci7y9sN@roxboro0-017.dyn.interpath.net>

Show Full Headers
Complete Article Headers
Message-ID: <1dbuwa6.8ijrkctulm7wN@cats.xs4all.nl>
Subject: Re: `>' and `> ' adaptive quoting
Date: Wed, 08 Jul 1998 00:00:00 +0000
From: js@xs4all.nl (Jeroen Scheerder)
References: <slrn6oro3q.fij.TroubleEveryDay@user1.teleport.com> <1db0orb.1cuui0s1iha1y4N@roxboro0-058.dyn.interpath.net> <19980707.170221.5b3.rnr.w164w_-_@locutus.ofB.ORG> <1dbt61a.1eetpif1da5x0sN@roxboro0-011.dyn.interpath.net> <6nukf0$2m6$1@chinet.chinet.com> <1dbtih9.1pr6uspxxhii9N@roxboro0-011.dyn.interpath.net> <2A21452C70E89BEF.E1D2F9C9F1DA41EB.41A2E1FBD4556B1D@library-proxy.airnews.net> <1dbuc5x.vtk3qx1ci7y9sN@roxboro0-017.dyn.interpath.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!not-for-mail
X-Deja-AN: 369553231
X-NNTP-Posting-Host: cats.xs4all.nl [194.109.15.118]
Sender: js@cats.xs4all.nl
Mail-Copies-To: never
X-XS4ALL-Date: Wed, 08 Jul 1998 16:30:55 CEST
X-XS4ALL-User: js
X-Face: (u%,<Ek_K4]BW;*pmlV&,Ev+p0W0hHt,PZs7\2OV%HhTE5\$\MU79J|bQB_m3G"n ,Mz'Pb6*(Z~Wr\GkY`X<!RfA0%7R
Organization: Al-Munqidh min-al-Dalaal
Newsgroups: news.software.readers