diff --git a/src/pyj/read_book/find.pyj b/src/pyj/read_book/find.pyj index d08f011be7..1fc4e2877e 100644 --- a/src/pyj/read_book/find.pyj +++ b/src/pyj/read_book/find.pyj @@ -45,7 +45,8 @@ def index_for_node(node, node_list): def tts_word_regex(): - return /[\p{Letter}\p{Mark}\p{Number}\p{Punctuation}]{1,50}/gu + # Cf is Other, formatting, including soft hyphens zero-width joiners, etc + return /[\p{Letter}\p{Mark}\p{Number}\p{Punctuation}\p{Cf}]{1,50}/gu def tts_data(text_node, offset):