diff --git a/src/msgmle.cpp b/src/msgmle.cpp index c8249c48e..21d5e39c1 100644 --- a/src/msgmle.cpp +++ b/src/msgmle.cpp @@ -104,7 +104,7 @@ public slots: } else if (charsAdded > 1) { // Insert a piece of text return; } else { - static QRegularExpression capitalizeAfter("(?:(?:\\s*\\b\\w{2,}\\b[.!?]+\\s+)|(?:^\\s*))+(\\w)", + static QRegularExpression capitalizeAfter("(?:(?:\\s*\\b\\w{2,}\\b\\s*[.!?]+\\s+)|(?:^\\s*))+(\\w)", QRegularExpression::UseUnicodePropertiesOption | QRegularExpression::MultilineOption); QRegularExpressionMatch match; diff --git a/version b/version index 174949e48..687037d02 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.5.1938 (2024-05-30, 32df7c5f) +1.5.1939 (2024-05-31, 78430066)