Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py

changeset 3034
7ce719013078
parent 3025
67064c71df21
child 3037
a417a0670a36
diff -r 58fe260e7469 -r 7ce719013078 Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py
--- a/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py	Sat Oct 19 12:28:12 2013 +0200
+++ b/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardCharactersDialog.py	Sat Oct 19 13:03:39 2013 +0200
@@ -590,8 +590,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