Files
tdesktop/Telegram/ThirdParty/hunspell/tests/checkcompoundrep2.aff
allhaileris afb81b8278
Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
init
2026-02-16 15:50:16 +03:00

19 lines
658 B
Plaintext

# check fix of regression of commit ce8071b9d3312b3599714fc36fcc3fac11cdae97:
# Return value of string.find() was ignored in AffixMgr::cpdrep_check(),
# applying REP replacements at all positions before the last matching position.
#
# For example a regression in Hungarian spell checking:
#
# Correct closed compound word "fa+ajtó" was rejected: the ó -> o replacement
# applied on the second character position, replacing "aa" with "o" there
# (2-character length of UTF-8 character "ó"), and the result "fojtó"
# is a correct dictionary word, which was the reason for rejection.
SET UTF-8
COMPOUNDMIN 2
COMPOUNDFLAG x
CHECKCOMPOUNDREP
REP 1
REP ó o