changeset 3694:56e6073b2e23

Fix subscript parsing (was broken for cases like 'a,,1,2,,')
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 09 Jun 2008 12:59:06 +0200
parents f976d490b9df
children e3b4ae470e86
files MoinMoin/parser/text_moin_wiki.py docs/CHANGES
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/parser/text_moin_wiki.py	Mon Jun 09 00:02:28 2008 +0200
+++ b/MoinMoin/parser/text_moin_wiki.py	Mon Jun 09 12:59:06 2008 +0200
@@ -280,7 +280,7 @@
     \^  # off
 )|(?P<sub>
     ,,  # subscript on
-    (?P<sub_text>[^,]{1,40})  # capture 1..40 chars of text
+    (?P<sub_text>.*?)  # capture the text
     ,,  # off
 )|(?P<tt>
     \{\{\{  # teletype on
--- a/docs/CHANGES	Mon Jun 09 00:02:28 2008 +0200
+++ b/docs/CHANGES	Mon Jun 09 12:59:06 2008 +0200
@@ -39,6 +39,7 @@
       * index filters: redirect stderr to logging system
     * FootNote macro: revert to old behaviour (using the arg parser made
       problems with footnotes including commas)
+    * Fix subscript parsing (was broken for cases like "a,,1,2,,").
     * info action: fix exception happening for invalid query args
 
   Other changes: