From: Stephan Mueller <d454d@we...> - 2008-12-13 14:50:59
I would like to extend the parser for the moin moin wiki syntax a bit.
I wonder, what is the best way to do so? I had a look at
text_moin_wiki.py and see there a quite large regex. So it seems to be a
little bit dangerous to simply sub-class that parser in regard to future
changes of that class. Is there a better way to extend the parser?
All I would need is to add another partial regex and the required member
to handle it.
From: Thomas Waldmann <tw-public@gm...> - 2008-12-13 17:40:10
> I would like to extend the parser for the moin moin wiki syntax a bit.
Did you consider already existing ways of extending moin?
Like macros and parsers?
> I wonder, what is the best way to do so?
The best way is to avoid, if possible. :)
What exactly do you want to achieve?
Also, please note that we already have a new moin wiki parser in the
dom-refactoring repo (not merged yet into main branch).