Two things:
* openings and closings of tags should not be the same ('' and ''),
and they should not prefix-overlap (like '' and ''').
You're just asking for troubles by introducing more such
tags.
Well, the whole single quotes syntax for emphasis is something I've haven't
liked much from the get-go. But are you also saying that '!!...!!' and
'//...//' and others are bad choices? What are some good, simple
alternatives? I tend to think that if the wiki syntax is going to be more
than something simple like '!!' or '==', we might as well forget about a
special wiki syntax, and just have people use the basic HTML markup.
But I see what you mean... Maybe something similar to [!bold!], [/italic/],
[=monospace=], [-strike-], etc., for text formatting and other similar tags?
Or {!bold!}, |!bold!|, (!bold!), `!bold!`, ~!bold!~, etc. Hell, I dunno.
Anyways, that's why I came to this list with these issues. *smile*
* don't do it with regular expresions. Be a real
man and write
LALR syntax. It will be order of magnitude faster, much easier
to change, and correct (current wikipedia parser fails under some
more complex cases) that way.
Okay. *grin* I was just thinkin' regexes, 'cause I'm familiar enough with
'em. And because I'd know how to distinguish between '//' in a URL and
'//'
in italicizing words, or '!!' in making stuff bold and '!!' at the end of
a
sentence, etc. But I'll definately check into LALR. I just love learnin'
new crap.
Thanks for the input, yo.
Derek
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 3 months FREE*.
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7…
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_virusp…