diff --git a/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp b/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp index 0d3f1d883..4ba6245f5 100644 --- a/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp +++ b/PowerEditor/src/ScintillaComponent/AutoCompletion.cpp @@ -158,7 +158,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));