1.1 --- a/MoinContentSupport.py Mon Nov 11 13:36:18 2013 +0100
1.2 +++ b/MoinContentSupport.py Thu Nov 28 22:16:43 2013 +0100
1.3 @@ -8,7 +8,6 @@
1.4 @license: GNU GPL (v2 or later), see COPYING.txt for details.
1.5 """
1.6
1.7 -from MoinSupport import heading_regexp_str
1.8 from MoinMoin.wikiutil import escape
1.9 import re
1.10
1.11 @@ -16,6 +15,7 @@
1.12
1.13 # Regular expressions.
1.14
1.15 +heading_regexp_str = r"^(?P<level>=+)\s*(?P<heading>.*?)\s*(?P=level)$"
1.16 hrule_regexp_str = r"^----$"
1.17 include_regexp_str = r"^\s*<<Include.*?>>$"
1.18 section_regexp_str = "(" + heading_regexp_str + "|" + hrule_regexp_str + "|" + include_regexp_str + ")"