We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02e9cb5 commit 3d889f7Copy full SHA for 3d889f7
pythainlp/tokenize/newmm.py
@@ -44,7 +44,7 @@
44
\d+([,\.]\d+)*| # numbers
45
[ \t]+| # spaces
46
\r?\n| # newlines
47
-[^\u0E00-\u0E7F \t]+ # other non-Thai characters
+[^\u0E00-\u0E7F \t\r\n]+ # other non-Thai characters
48
"""
49
)
50
0 commit comments