diff -r 58fe260e7469 -r 7ce719013078 Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardCharactersDialog.py --- a/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardCharactersDialog.py Sat Oct 19 12:28:12 2013 +0200 +++ b/Plugins/WizardPlugins/QRegExpWizard/QRegExpWizardCharactersDialog.py Sat Oct 19 13:03:39 2013 +0200 @@ -656,8 +656,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