changeset 196:1b3dec65779e

fix parsing bug with parser sections and mimetypes having a dot (like text/x.moin.creole)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 29 Apr 2011 16:35:22 +0200
parents d75075769daa
children 19e92e1ff286
files MoinMoin/converter/moinwiki_in.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/moinwiki_in.py	Thu Apr 28 13:18:10 2011 +0200
+++ b/MoinMoin/converter/moinwiki_in.py	Fri Apr 29 16:35:22 2011 +0200
@@ -306,7 +306,7 @@
             (?P<nowiki_interpret>
                 \#!
                 \s*
-                (?P<nowiki_name> [\w/-]+ )?
+                (?P<nowiki_name> [\w/.-]+ )?  # stuff like creole or text/x.moin.creole or text/x-python
                 \s*
                 (:?
                     \(