On Fri, Aug 18, 2006 at 05:41:49PM +0200, Steve Bennett wrote:
You mean, when the characters that immediately precede
"://" are in
some defined list like "ftp", "http" etc? Ok, from a quick test, I
see
that we recognise http, ftp, https, gopher, and mailto, but not vrml
or unsurprisingly file.
And presumably the 9 characters is counting the case
https://a
Btw, anyone want another funny corner case (as I gather these things
are called?)
http:// <- not recognised as a "magic word"
http://. <- recognised as a "magic word", but only the
"http://"
is linked - the . isn't.
Heh. Are we going to put that in the formal grammar?
I don't think we would need to.
That's not actually "part of wikitext". It's a special case,
implemented by the browser in a late pass to make users' lives easier,
as several other things are which are not "really" part of wikitext.
Strictly speaking, parser functions aren't part of wikitext either, I
don't think...
Cheers,
-- jra
--
Jay R. Ashworth jra(a)baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA
http://baylink.pitas.com +1 727 647 1274
The Internet: We paved paradise, and put up a snarking lot.