aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libstat/tokenizers/tokenizers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstat/tokenizers/tokenizers.c b/src/libstat/tokenizers/tokenizers.c
index 51c711cf8..acbbcf2f0 100644
--- a/src/libstat/tokenizers/tokenizers.c
+++ b/src/libstat/tokenizers/tokenizers.c
@@ -229,7 +229,7 @@ rspamd_utf_word_valid (const gchar *text, const gchar *end,
U8_NEXT (text, start, finish, c);
- if (u_isalnum (c)) {
+ if (u_isJavaIDPart (c)) {
return TRUE;
}