Fixed an issue with the QRegExp wizard.

Sat, 06 Oct 2012 14:12:20 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 06 Oct 2012 14:12:20 +0200
changeset 2104
671c38b34bef
parent 2102
a9218946b0bd
child 2106
cca04724bff8

Fixed an issue with the QRegExp wizard.

Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py file | annotate | diff | comparison | revisions
--- a/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py	Sat Oct 06 13:03:28 2012 +0200
+++ b/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardDialog.py	Sat Oct 06 14:12:20 2012 +0200
@@ -455,7 +455,7 @@
                         .format(re.errorString()))
                 return
             offset = re.indexIn(text, startpos)
-            captures = re.numCaptures()
+            captures = re.captureCount()
             row = 0
             OFFSET = 5
             

eric ide

mercurial