mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Add numbers to the word regex
This commit is contained in:
parent
eedd6c7751
commit
16bea2db9d
@ -45,7 +45,7 @@ def index_for_node(node, node_list):
|
||||
|
||||
|
||||
def tts_word_regex():
|
||||
return /[\p{L}\p{M}]+/gu
|
||||
return /[\p{Letter}\p{Mark}\p{Number}]+/gu
|
||||
|
||||
|
||||
def tts_data(text_node, offset):
|
||||
|
Loading…
x
Reference in New Issue
Block a user