Mercurial > moin > 1.9
changeset 2039:ca376b20b122
wiki parser: remove unneded non-capturing group, update (c) header
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sun, 20 May 2007 22:23:41 +0200 |
parents | bd83616af43a |
children | 68e302934c77 |
files | MoinMoin/parser/text_moin_wiki.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/parser/text_moin_wiki.py Sun May 20 20:01:26 2007 +0200 +++ b/MoinMoin/parser/text_moin_wiki.py Sun May 20 22:23:41 2007 +0200 @@ -3,7 +3,7 @@ MoinMoin - MoinMoin Wiki Markup Parser @copyright: 2000-2002 Juergen Hermann <jh@web.de>, - 2006 by MoinMoin:ThomasWaldmann + 2006-2007 MoinMoin:ThomasWaldmann, 2007 by MoinMoin:ReimarBauer @license: GNU GPL, see COPYING for details. """ @@ -66,7 +66,7 @@ # the big, fat, ugly one ;) formatting_rules = ur"""(?P<ent_numeric>&#(\d{1,5}|x[0-9a-fA-F]+);) -(?:(?P<emph_ibb>'''''(?=[^']+''')) +(?P<emph_ibb>'''''(?=[^']+''')) (?P<emph_ibi>'''''(?=[^']+'')) (?P<emph_ib_or_bi>'{5}(?=[^'])) (?P<emph>'{2,3}) @@ -82,7 +82,7 @@ (?P<remark>(/\* ?| ?\*/)) (?P<rule>-{4,}) (?P<comment>^\#\#.*$) -(?P<macro>\[\[(%%(macronames)s)(?:\(.*?\))?\]\])) +(?P<macro>\[\[(%%(macronames)s)(?:\(.*?\))?\]\]) (?P<ol>%(ol_rule)s) (?P<dl>%(dl_rule)s) (?P<li>^\s+\*\s*)