Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3058
0a02c433f52d
parent 3037
a417a0670a36
child 3145
a9de05d4a22f
--- a/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py	Sun Nov 03 15:58:22 2013 +0100
@@ -19,7 +19,7 @@
 
 
 class QRegularExpressionWizardCharactersDialog(
-    QDialog, Ui_QRegularExpressionWizardCharactersDialog):
+        QDialog, Ui_QRegularExpressionWizardCharactersDialog):
     """
     Class implementing a dialog for entering character classes.
     """
@@ -592,8 +592,8 @@
                 self.__formatCharacter(char2, format))
         
         if regexp:
-            if (regexp.startswith("\\") and \
-                regexp.count("\\") == 1 and \
+            if (regexp.startswith("\\") and
+                regexp.count("\\") == 1 and
                 "-" not in regexp) or \
                len(regexp) == 1:
                 return regexp

eric ide

mercurial