Home
last modified time | relevance | path

Searched refs:onig (Results 1 - 4 of 4) sorted by relevance

/third_party/rust/crates/regex/bench/src/ffi/
H A Donig.rs1 use onig;
3 pub struct Regex(onig::Regex);
8 pub fn new(pattern: &str) -> Result<Self, onig::Error> { in new()
9 onig::Regex::new(pattern).map(Regex) in new()
13 // Gah. onig's is_match function is anchored, but find is not. in is_match()
19 onig::SearchOptions::SEARCH_OPTION_NONE, in is_match()
28 ) -> onig::FindMatches<'r, 't> { in find_iter()
H A Dmod.rs5 #[cfg(feature = "re-onig")]
6 pub mod onig; modules
/third_party/rust/crates/regex/bench/
H A Drun4 echo "Usage: $(basename $0) [rust | rust-bytes | pcre1 | pcre2 | re2 | onig | tcl ]" >&2
30 onig)
31 exec cargo bench --bench bench --features re-onig "$@"
/third_party/rust/crates/regex/bench/src/
H A Dbench.rs14 } else if #[cfg(feature = "re-onig")] {
15 pub use ffi::onig::Regex;
294 feature = "re-onig",

Completed in 2 milliseconds