On Sat, Dec 21, 2002 at 05:02:30PM -0600, Derek Moore wrote:
It appears Hotmail may have messed up the text file I
attached to the
original email. Stupid Hotmail. My server's down, so I'm stuck with
Hotmail temporarily. I can't wait to be back home with pine and vi.
In any case, if Wikitax.txt looks all sorts o' messed up, with lines
wrapped unintelligibly, just head over to:
http://meta.wikipedia.org/wiki/Wikitax
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.
* 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.