ImprovedTableParser.py | raw changeset files shortlog |
1.1 --- a/ImprovedTableParser.py Thu Feb 23 23:47:36 2012 +0100 1.2 +++ b/ImprovedTableParser.py Fri Feb 24 21:39:12 2012 +0100 1.3 @@ -22,7 +22,7 @@ 1.4 1.5 # At start of line: 1.6 "sections" : (r"(^\s*{{{.*?^\s*}}})", re.MULTILINE | re.DOTALL), # {{{ ... }}} 1.7 - "rows" : (r"^==", re.MULTILINE), # == 1.8 + "rows" : (r"^==(?!.*?==$)", re.MULTILINE), # == not-heading 1.9 1.10 # Within text: 1.11 "columns" : (r"\|\|[ \t]*", 0), # || ws-excl-nl