diff --git a/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp b/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp index 84919e83..e5a7e145 100644 --- a/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp +++ b/PowerEditor/src/ScitillaComponent/AutoCompletion.cpp @@ -135,7 +135,7 @@ void AutoCompletion::getWordArray(vector & wordArray, TCHAR *beg generic_string expr(TEXT("\\<")); expr += beginChars; - expr += TEXT("[^ \\t\\n\\r.,;:\"()=<>'+!\\[\\]]+"); + expr += TEXT("[^ \\t\\n\\r.,;:\"(){}=<>'+!\\[\\]]+"); int docLength = int(_pEditView->execute(SCI_GETLENGTH));