# HG changeset patch # User Paul Boddie # Date 1384173726 -3600 # Node ID 66d831c42a44655be0842763beefe6135bb5899d # Parent e3819a445b17d2ef700258b827aab9956e90c86f Exposed the heading regular expression pattern. diff -r e3819a445b17 -r 66d831c42a44 MoinSupport.py --- a/MoinSupport.py Wed Oct 30 15:38:24 2013 +0100 +++ b/MoinSupport.py Mon Nov 11 13:42:06 2013 +0100 @@ -45,7 +45,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.