# HG changeset patch # User Paul Boddie # Date 1384173775 -3600 # Node ID 6b6b9a5ed8bc165ced228a96f28bf249cd1099f0 # Parent 2ea1a6508012608d8bdf81933e2545d1979aec60# Parent 66d831c42a44655be0842763beefe6135bb5899d Exposed the heading regular expression pattern. diff -r 2ea1a6508012 -r 6b6b9a5ed8bc MoinSupport.py --- a/MoinSupport.py Thu Nov 07 23:29:00 2013 +0100 +++ b/MoinSupport.py Mon Nov 11 13:42:55 2013 +0100 @@ -43,7 +43,8 @@ # Extraction of headings. -heading_regexp = re.compile(r"^(?P=+)(?P.*?)(?P=level)$", re.UNICODE | re.MULTILINE) +heading_regexp_str = r"^(?P=+)(?P.*?)(?P=level)$" +heading_regexp = re.compile(heading_regexp_str, re.UNICODE | re.MULTILINE) # Category extraction from pages.