diff options
Diffstat (limited to 'plugins/SmileyAdd/src/regexp/WCPattern.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/regexp/WCPattern.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/src/regexp/WCPattern.cpp b/plugins/SmileyAdd/src/regexp/WCPattern.cpp index 3ab5e35f88..e44c835b39 100644 --- a/plugins/SmileyAdd/src/regexp/WCPattern.cpp +++ b/plugins/SmileyAdd/src/regexp/WCPattern.cpp @@ -624,9 +624,7 @@ NFAUNode * WCPattern::parseRegisteredWCPattern(NFAUNode ** end) (pattern[j] >= (wchar_t)'a' && pattern[j] <= (wchar_t)'z') ||
(pattern[j] >= (wchar_t)'A' && pattern[j] <= (wchar_t)'Z') ||
(pattern[j] >= (wchar_t)'0' && pattern[j] <= (wchar_t)'9') ||
- (pattern[j] == (wchar_t)'_')
- )
- )
+ (pattern[j] == (wchar_t)'_')))
{
raiseError();
return NULL;
|