🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #29348

Re: Netscape 4 hitting the streets

#29348
From: Eli the Bearded
Date: Mon, 13 Jan 1997 00:00
34 lines
2281 bytes
Christopher B. Browne <cbbrowne@unicomp.net> wrote:
>The *terminator* of the regex should be one of the following:
>  a: White space
>  b: ">"
>  c: A doublequote" - e.g. `"'
>  d: A single quote:  "'"
>  e: A period.

Using RE's with (,),[,],|,.,*,+ magic in the normal way:

(http|https):[^ <tab>]*(([.]s+html+)|/)

Would be much better, if you can assume that people will not incorrectly
write "http://www.netusa.net/~eli/" as "http://www.netusa.net/~eli".
Failing that, checking that it ends with [a-zA-Z0-9/] would be pretty
good.

>Apparently there's an RFC that indicates that the "correct" way of
>describing a URL in news looks like <http://www.ccs.neu.edu>, which is
>nicely unambiguous to match using a regex.

Not quite, <URL:http://www.ccs.neu.edu> would be correct for that. The
same specification also says that embeded white space should be ignored,
allowing for convient reformating with the proviso that hyphens ("-")
should not be used, and whitespace should not be added after an existing
hyphen in the URL.

Elijah
------
thinks it a great BOFHish thing to use that syntax with whitespace to break
non-compliant software

Technical Details
Message-ID: <5becsa$b6r@alpha.NetUSA.Net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <59rvoh$i5d@epimetheus.algonet.se> <rnewman-1101971004330001@mfd-dial6-4.cybercom.net> <vnd7mljsr84.fsf@k2.ccs.neu.edu> <slrn5dge57.2eg.cbbrowne@wolfe.brownes.org>

Show Full Headers
Complete Article Headers
Message-ID: <5becsa$b6r@alpha.NetUSA.Net>
Subject: Re: Netscape 4 hitting the streets
Date: Mon, 13 Jan 1997 00:00:00 +0000
From: Eli the Bearded <usenet-tag@qz.little-neck.ny.us>
References: <59rvoh$i5d@epimetheus.algonet.se> <rnewman-1101971004330001@mfd-dial6-4.cybercom.net> <vnd7mljsr84.fsf@k2.ccs.neu.edu> <slrn5dge57.2eg.cbbrowne@wolfe.brownes.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 209610976
Sender: eli@alpha.NetUSA.Net
X-from-notes: This is sent from a valid but tagged return address. Failure to
X-get-a-newsreader: <blink>
Organization: Some absurd concept
 include an "re: " in the subject may cause reply mail to bounce.
 <url: mailto:email-policy@qz.little-neck.ny.us> -- autoresponse
X-acceptable-email-policy: for rules about sending mail to this account see:
Newsgroups: news.software.readers,alt.fan.e-t-b
X-us-congress: Moronic Fucks.