From dfc1b38c2a725ca72bec8d9bb0a0916919a0ed52 Mon Sep 17 00:00:00 2001 From: cxlwill Date: Mon, 23 Oct 2017 14:43:19 +0800 Subject: [PATCH] modify separator for tokenization --- material/partials/language/zh.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/material/partials/language/zh.html b/material/partials/language/zh.html index 51e0db975..b578a8deb 100644 --- a/material/partials/language/zh.html +++ b/material/partials/language/zh.html @@ -12,7 +12,7 @@ "search.result.none": "没有找到符合条件的结果", "search.result.one": "找到 1 个符合条件的结果", "search.result.other": "# 个符合条件的结果", - "search.tokenizer": "[\s\-]+", + "search.tokenizer": "[\,\。]+", "source.link.title": "前往 Github 仓库", "toc.title": "目录" }[key] }}{% endmacro %}