文件名称:text-query:生成简单的布尔文本查询
文件大小:5KB
文件格式:ZIP
更新时间:2024-07-25 09:29:22
JavaScript
文本查询 用于将查询字符串转换为其他文本字段的比较器的简单查询标记器。 用法 var Query = require ( "text-query" ) ; // Create a query: spaces are OR'd groups and commas AND groups, with // double quoted strings being one search entity. var q = new Query ( "'death metal', swedish finnish, guitar bass drums" ) ; // This query only returns true of "death metal" is in the text, // along with "swedish" OR "finnish", and an instrument ("g
【文件预览】:
text-query-master
----.gitignore(13B)
----package.json(572B)
----.travis.yml(36B)
----LICENSE(1KB)
----index.js(3KB)
----README.md(2KB)
----test()
--------test.js(4KB)