Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py

branch
5_2_x
changeset 2105
042a44ff8a54
parent 1509
c0b5e693b0eb
child 2303
0ed4ed026c16
equal deleted inserted replaced
2103:b66837cef73b 2105:042a44ff8a54
343 self.trUtf8("Error"), 343 self.trUtf8("Error"),
344 self.trUtf8("""Invalid regular expression: {0}""") 344 self.trUtf8("""Invalid regular expression: {0}""")
345 .format(re.errorString())) 345 .format(re.errorString()))
346 return 346 return
347 offset = re.indexIn(text, startpos) 347 offset = re.indexIn(text, startpos)
348 captures = re.numCaptures() 348 captures = re.captureCount()
349 row = 0 349 row = 0
350 OFFSET = 5 350 OFFSET = 5
351 351
352 self.resultTable.setColumnCount(0) 352 self.resultTable.setColumnCount(0)
353 self.resultTable.setColumnCount(3) 353 self.resultTable.setColumnCount(3)

eric ide

mercurial