comparison sqlpyPlus.py @ 89:f9a8852a9552

fixed \h2 > bug
author catherine@localhost
date Tue, 20 May 2008 15:37:02 -0400
parents d3da34473a8e
children 51e1fe3adf0e
comparison
equal deleted inserted replaced
88:d3da34473a8e 89:f9a8852a9552
473 result = '\n' + sqlpython.pmatrix(transpr,newdesc) 473 result = '\n' + sqlpython.pmatrix(transpr,newdesc)
474 else: 474 else:
475 result = sqlpython.pmatrix(self.rows, self.curs.description, self.maxfetch) 475 result = sqlpython.pmatrix(self.rows, self.curs.description, self.maxfetch)
476 return result 476 return result
477 477
478 statementEndPattern = re.compile(r'(.*)(;|\\[gGhtxicCsS])\s*(\d*)$', re.DOTALL | re.MULTILINE) 478 statementEndPattern = re.compile(r'(.*)(;|\\[gGhtxicCsS])\s*(\d*)\s*$', re.DOTALL | re.MULTILINE)
479 # what about quote-enclosed? 479 # what about quote-enclosed?
480 480
481 def findTerminator(self, statement): 481 def findTerminator(self, statement):
482 m = self.statementEndPattern.search(statement) 482 m = self.statementEndPattern.search(statement)
483 if m: 483 if m: