1.1 --- a/ImprovedTableParser.py Fri Jul 13 01:03:11 2012 +0200
1.2 +++ b/ImprovedTableParser.py Fri Jul 13 01:13:08 2012 +0200
1.3 @@ -18,12 +18,12 @@
1.4
1.5 syntax = {
1.6 # At start of line:
1.7 - "rows" : (r"^==(?!.*?==$)", re.MULTILINE), # == not-heading
1.8 + "rows" : (r"^==(?!.*?==$)[ \t]?", re.MULTILINE), # == not-heading ws-excl-nl
1.9 + "continuations" : (r"^\s*\.\.(?!\.)[ \t]?", re.MULTILINE), # .. ws-excl-nl or .. not-dot
1.10
1.11 # Within text:
1.12 "markers" : (r"([{]{3,}|[}]{3,})", re.MULTILINE | re.DOTALL), # {{{... or }}}...
1.13 "columns" : (r"\|\|[ \t]*", 0), # || ws-excl-nl
1.14 - "continuations" : (r"^\s*\.\.(?!\.)[ \t]?", re.MULTILINE), # .. ws-excl-nl or .. not-dot
1.15
1.16 # At start of column text:
1.17 "column" : (r"^\s*<(.*?)>\s*(.*)", re.DOTALL), # ws < attributes > ws