Commit e2ca996b authored by Chris McDonough's avatar Chris McDonough

Committing patch from Albert Ting on Zope maillist 4/12. Regex change which...

Committing patch from Albert Ting on Zope maillist 4/12.  Regex change which fixes a table parsing problem.
parent bc4440cd
......@@ -234,9 +234,8 @@ class Table:
CELL=' <TD ALIGN=CENTER COLSPAN=%i>%s</TD>\n'
ROW=' <TR>\n%s </TR>\n'
TABLE='\n<TABLE BORDER=1 CELLPADDING=2>\n%s</TABLE>'
def create(self,aPar,
td_reg=re.compile(r'[ \t\n]*\|\|([^\0x00|]*)')
td_reg=re.compile(r'[ \t\n]*\|\|([^\0|]*)')
):
'''parses a table and returns nested list representing the
table'''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment