Fixed an issue with the QRegExp wizard. 5_2_x

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 06 Oct 2012 14:12:20 +0200
branch
5_2_x
changeset 2105
042a44ff8a54
parent 2103
b66837cef73b
child 2111
7a0a21537c5b

Fixed an issue with the QRegExp wizard.
(grafted from 671c38b34befc2eb75679d4544eaf1c9f6b0183b)

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
@@ -345,7 +345,7 @@
                         .format(re.errorString()))
                 return
             offset = re.indexIn(text, startpos)
-            captures = re.numCaptures()
+            captures = re.captureCount()
             row = 0
             OFFSET = 5
             

eric ide

mercurial