From 16bea2db9dbfde1c1fccab04cbd423eae59e22ae Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 10 Dec 2020 22:54:22 +0530 Subject: [PATCH] Add numbers to the word regex --- src/pyj/read_book/find.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/find.pyj b/src/pyj/read_book/find.pyj index 550fb23f17..edd35adb56 100644 --- a/src/pyj/read_book/find.pyj +++ b/src/pyj/read_book/find.pyj @@ -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):