--- 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