1 个不稳定版本
| 0.0.1 | 2020年2月16日 |
|---|
#231 在 #grep
13KB
185 行
grep-hyperscan
该 grep-hyperscan 包提供了 grep-matcher 包中 Matcher 特性的实现。此实现允许在 grep 包中使用 hyperscan,以便在大量数据上快速进行基于行的正则表达式搜索。
这是一个 WIP。
问题
请在此处打开新问题: https://todo.sr.ht/~pierrenn/grep-hyperscan
用法
将此内容添加到您的 Cargo.toml
[dependencies]
grep-hyperscan = "0.0.1"
并将此内容添加到您的包根目录
extern crate grep_hyperscan;
注意:您可能不想直接使用此包。相反,您应该优先考虑在 grep 包中定义的界面。
lib.rs:
为 hyperscan 实现 grep-matcher 的 Matcher 特性。
依赖项
~1.4–3MB
~54K SLoC