changeset 2766:44ebe3cdd515

fix group entries that use free links for new link syntax
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 26 Aug 2007 12:32:27 +0200
parents 3dbe8f586ace
children 95a97b45a8e9
files MoinMoin/wikidicts.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikidicts.py	Sat Aug 25 23:05:55 2007 +0200
+++ b/MoinMoin/wikidicts.py	Sun Aug 26 12:32:27 2007 +0200
@@ -85,12 +85,12 @@
      * memberN
     any text ignored
 
-    If there are any free links using ["free link"] notation, the markup
+    If there are any free links using [[free link]] notation, the markup
     is stripped from the member.
     """
     # * Member - ignore all but first level list items, strip whitespace,
     # strip free links markup if exists.
-    regex = r'^ \* +(?:\[\")?(?P<member>.+?)(?:\"\])? *$'
+    regex = r'^ \* +(?:\[\[)?(?P<member>.+?)(?:\]\])? *$'
 
     def initFromText(self, text):
         for match in self.regex.finditer(text):