Skip to content

Commit 1598432

Browse files
issue bug 验证
1 parent 8891f00 commit 1598432

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

tests/test3.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding:utf-8
2+
__author__ = "zhou"
3+
# create by zhou on 2020/1/10
4+
import ahocorasick
5+
6+
if __name__ == '__main__':
7+
ac = ahocorasick.AhoCorasick('tes', 'es', 's', 'te')
8+
print(ac.search('test'))

tests/test4.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# coding:utf-8
2+
__author__ = "zhou"
3+
# create by zhou on 2020/1/10
4+
import ahocorasick
5+
6+
if __name__ == '__main__':
7+
ac = ahocorasick.AhoCorasick('abc', 'abe', 'acdabd', 'bdf')
8+
print(ac.search('acdabdf'))

0 commit comments

Comments
 (0)