[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 91b1aa37da 11/58: pyim-cregexp-build-xingma-regexp
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 91b1aa37da 11/58: pyim-cregexp-build-xingma-regexp-from-words -> pyim-cregexp--build-xingma-regexp-from-words |
Date: |
Fri, 24 Jun 2022 06:57:52 -0400 (EDT) |
branch: externals/pyim
commit 91b1aa37dab626b4de4ea2b2ca5627f1f17fed06
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
pyim-cregexp-build-xingma-regexp-from-words ->
pyim-cregexp--build-xingma-regexp-from-words
---
pyim-cregexp.el | 4 ++--
tests/pyim-tests.el | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyim-cregexp.el b/pyim-cregexp.el
index e87584c175..e8604dc317 100644
--- a/pyim-cregexp.el
+++ b/pyim-cregexp.el
@@ -260,13 +260,13 @@ regexp, 所以搜索单字的时候一般可以搜到生僻字,但搜索句子
(if first-equal
(substring x 0 1)
x))))
- (pyim-cregexp-build-xingma-regexp-from-words
+ (pyim-cregexp--build-xingma-regexp-from-words
(pyim-dcache-get code '(code2word)))))
imobj "")))
(unless (equal regexp "")
(concat (if match-beginning "^" "") regexp))))
-(defun pyim-cregexp-build-xingma-regexp-from-words (words)
+(defun pyim-cregexp--build-xingma-regexp-from-words (words)
"根据 WORDS, 创建一个可以搜索这些 WORDS 的 regexp.
比如:工, 恭恭敬敬 => [工恭][恭]?[敬]?[敬]?
diff --git a/tests/pyim-tests.el b/tests/pyim-tests.el
index 1aa4066b5b..8eb8f7f643 100644
--- a/tests/pyim-tests.el
+++ b/tests/pyim-tests.el
@@ -1011,7 +1011,7 @@
"\\(?:\\(?:aaaa'\\|aaaa\\|[工恭]恭?敬?敬?\\)\\(?:aaaa\\|[工恭]恭?敬?敬?\\)\\)"))
(should (equal (pyim-cregexp--create-cregexp-from-string "aaaa'aaaa" wubi)
"\\(?:aaaa'\\|aaaa\\|[工恭][恭]?[敬]?[敬]?\\)\\(?:aaaa\\|[工恭][恭]?[敬]?[敬]?\\)"))
- (should (equal (pyim-cregexp-build-xingma-regexp-from-words '("工" "恭恭敬敬"))
+ (should (equal (pyim-cregexp--build-xingma-regexp-from-words '("工" "恭恭敬敬"))
"[工恭][恭]?[敬]?[敬]?"))
)
- [elpa] externals/pyim aef2a941f3 05/58: pyim-cregexp-create-beautiful-cregexp-from-string -> pyim-cregexp--create-beautiful-cregexp-from-string, (continued)
- [elpa] externals/pyim aef2a941f3 05/58: pyim-cregexp-create-beautiful-cregexp-from-string -> pyim-cregexp--create-beautiful-cregexp-from-string, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim a86cb9b606 47/58: pyim-pinyin-get-shenmu -> pyim-pinyin--get-shenmu, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c604b1f4aa 55/58: pyim-pymap-py2cchar-cache2 -> pyim-pymap--py2cchar-cache2, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c0798d5e4d 57/58: pyim-pymap-cchar2py-cache -> pyim-pymap--cchar2py-cache, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim c573694ae4 58/58: Update pyim-pymap-utils.el, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim f4074fc4ef 04/58: pyim-cregexp-valid-p -> pyim-cregexp--valid-p, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 291798d23d 09/58: pyim-cregexp-scheme -> pyim-cregexp--scheme, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim b243e7e8e7 15/58: pyim-isearch-search-fun -> pyim-isearch--search-fun, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 56505723bc 16/58: pyim-autoselector-xingma-1 -> pyim-autoselector--xingma, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim ea2988cf16 26/58: pyim-dict-manager-buffer -> pyim-dict-manager--buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 91b1aa37da 11/58: pyim-cregexp-build-xingma-regexp-from-words -> pyim-cregexp--build-xingma-regexp-from-words,
ELPA Syncer <=
- [elpa] externals/pyim 40ed5dc8a4 10/58: pyim-cregexp-quanpin- -> pyim-cregexp-quanpin--, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 2064692d35 40/58: pyim-liberime-get-code -> pyim-liberime--get-code, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 48e904bbe6 42/58: pyim-outcome-magic-convert-cache -> pyim-outcome--magic-convert-cache, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim d5d98bdbdb 12/58: pyim-cstring-partition -> pyim-cstring--partition, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 68e406ed4f 19/58: pyim-candidates-znabc-words -> pyim-candidates--znabc-words, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim df48854299 22/58: pyim-cloudim-parse-baidu-buffer -> pyim-cloudim--parse-baidu-buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 67f800c819 23/58: pyim-cloudim-parse-google-buffer -> pyim-cloudim--parse-google-buffer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 0629a400d9 31/58: pyim-indicator-timer -> pyim-indicator--timer, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim d40f7c4f86 45/58: pyim-pinyin-yunmu -> pyim-pinyin--yunmu, ELPA Syncer, 2022/06/24
- [elpa] externals/pyim 889db4b5ab 49/58: pyim-pinyin-get-charpy -> pyim-pinyin--get-charpy, ELPA Syncer, 2022/06/24