diff --git a/bin/changelog.html b/bin/changelog.html
index 3a9a766..3514cf1 100644
--- a/bin/changelog.html
+++ b/bin/changelog.html
@@ -6,6 +6,12 @@
Historie změn/Change log
+
XX
+
Změny | Changes
+
+ - Zlepšeno slabikování u anglických koncovek 's/'d. | Improved hyphenation with english suffixes 's/'d.
+
+
1.3.7.3
Opravy | Bugfixes
diff --git a/src/job/wordsplit.cpp b/src/job/wordsplit.cpp
index f0e0b62..068f28a 100644
--- a/src/job/wordsplit.cpp
+++ b/src/job/wordsplit.cpp
@@ -116,14 +116,16 @@ QVector czech(const QString &src, ChordsInSong &chords, int options) {
")")
.arg(rxsMiddleBase, rxsConsonant, rxsOnlyStartConsonant);
+ static const QString rxsEnglishSuffix = "(?:'[sd])?)";
+
/// Syllable in the end of the word
static const QString rxsEnd = //
- QString("(?:%1%2*)").arg(rxsMiddle, rxsConsonant);
+ QString("(?:%1%2*%3").arg(rxsMiddle, rxsConsonant, rxsEnglishSuffix);
- /// Syllable in the beginningh of the word
+ /// Syllable in the beginning of the word
static const QString rxsStart = //
QString("(?:"
- "(?:[svzk]\\b\\s*)?(?:" // Possible (silent) preposition
+ "(?:\\b(? czech(const QString &src, ChordsInSong &chords, int options) {
static const QRegularExpression rxWord( //
QString("\\b(%1)(%2*)(%3?)\\b"
- "|\\b\\p{L}+\\b%4")
+ "|\\b(?:\\p{L}|['])+\\b%4")
.arg(rxsStart, rxsMiddle, rxsEnd, (options & IncludeNewlines) ? "|[ \t]*$" : "" //
),
QRegularExpression::CaseInsensitiveOption | QRegularExpression::UseUnicodePropertiesOption | QRegularExpression::MultilineOption);