[Zope-Checkins] CVS: Zope/lib/python/StructuredText - ClassicStructuredText.py:1.4.10.1
Chris McDonough
chrism@zope.com
Sat, 13 Apr 2002 10:23:42 -0400
Update of /cvs-repository/Zope/lib/python/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv30979
Modified Files:
Tag: Zope-2_5-branch
ClassicStructuredText.py
Log Message:
Committing patch from Albert Ting on Zope maillist. Fixes problem with table parsing regex.
=== Zope/lib/python/StructuredText/ClassicStructuredText.py 1.4 => 1.4.10.1 ===
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'''