Add numbers to the word regex

This commit is contained in:
Kovid Goyal 2020-12-10 22:54:22 +05:30
parent eedd6c7751
commit 16bea2db9d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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):