【文件属性】:
文件名称:fusspos:繁琐的字符串搜索给出了子字符串位置的一些估计
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-22 16:43:21
JavaScript
#fusspos
繁琐的字符串搜索给出了子字符串位置的一些估计
安装
npm install fusspos
文档
var fusspos = require ( 'fusspos' ) ;
// The function taks a description and a text, both must be arrays of words
var description = 'The world has changed' . split ( / \s + / ) ;
var text = 'By Andreas M.\n' +
'The world has has changed, I\'m not sure it is ...' . split ( / \s + / ) ;
// Search for description insid
【文件预览】:
fusspos-master
----test.js(4KB)
----package.json(551B)
----LICENSE.md(1KB)
----.gitignore(16B)
----README.md(2KB)
----fusspos.js(5KB)