[Zope-Checkins] CVS: Zope/lib/python/StructuredText - ClassicStructuredText.py:1.6

Chris McDonough chrism@zope.com
Sat, 13 Apr 2002 10:22:40 -0400


Update of /cvs-repository/Zope/lib/python/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv29983

Modified Files:
	ClassicStructuredText.py 
Log Message:
Committing patch from Albert Ting on Zope maillist 4/12.  Regex change which fixes a table parsing problem.


=== Zope/lib/python/StructuredText/ClassicStructuredText.py 1.5 => 1.6 ===
     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'''