Searched refs:RegexBuilder (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/regex-automata/src/ |
D | regex.rs | 138 RegexBuilder::new().build(pattern) in new() 168 RegexBuilder::new().build_sparse(pattern) in new_sparse() 472 pub struct RegexBuilder { struct 477 impl RegexBuilder { impl 479 pub fn new() -> RegexBuilder { in new() 480 RegexBuilder { dfa: dense::Builder::new() } in new() 558 pub fn anchored(&mut self, yes: bool) -> &mut RegexBuilder { in anchored() argument 567 pub fn case_insensitive(&mut self, yes: bool) -> &mut RegexBuilder { in case_insensitive() argument 580 pub fn ignore_whitespace(&mut self, yes: bool) -> &mut RegexBuilder { in ignore_whitespace() argument 589 pub fn dot_matches_new_line(&mut self, yes: bool) -> &mut RegexBuilder { in dot_matches_new_line() argument [all …]
|
D | lib.rs | 305 pub use regex::RegexBuilder;
|
/external/rust/crates/regex/src/ |
D | re_builder.rs | 51 pub struct RegexBuilder(RegexOptions); 53 impl RegexBuilder { impl 58 pub fn new(pattern: &str) -> RegexBuilder { 59 let mut builder = RegexBuilder(RegexOptions::default()); 83 ) -> &mut RegexBuilder { 94 pub fn multi_line(&mut self, yes: bool) -> &mut RegexBuilder { 109 ) -> &mut RegexBuilder { 120 pub fn swap_greed(&mut self, yes: bool) -> &mut RegexBuilder { 133 ) -> &mut RegexBuilder { 142 pub fn unicode(&mut self, yes: bool) -> &mut RegexBuilder { [all …]
|
D | re_unicode.rs | 15 use re_builder::unicode::RegexBuilder; 176 RegexBuilder::new(re).build() in new()
|
D | re_bytes.rs | 14 use re_builder::bytes::RegexBuilder; 120 RegexBuilder::new(re).build() in new()
|
/external/rust/crates/regex-automata/tests/ |
D | suite.rs | 1 use regex_automata::{DenseDFA, Regex, RegexBuilder, SparseDFA}; 7 let mut builder = RegexBuilder::new(); in unminimized_standard() 17 let mut builder = RegexBuilder::new(); in unminimized_premultiply() 27 let mut builder = RegexBuilder::new(); in unminimized_byte_class() 37 let mut builder = RegexBuilder::new(); in unminimized_premultiply_byte_class() 47 let mut builder = RegexBuilder::new(); in unminimized_standard_no_nfa_shrink() 61 let mut builder = RegexBuilder::new(); in minimized_standard() 71 let mut builder = RegexBuilder::new(); in minimized_premultiply() 81 let mut builder = RegexBuilder::new(); in minimized_byte_class() 91 let mut builder = RegexBuilder::new(); in minimized_premultiply_byte_class() [all …]
|
D | collection.rs | 7 use regex_automata::{DenseDFA, ErrorKind, Regex, RegexBuilder, StateID, DFA}; 177 mut builder: RegexBuilder, in build_regex() argument 200 pub fn test_all<'a, I, T>(&mut self, builder: RegexBuilder, tests: I) in test_all() argument 301 fn apply_options(&self, test: &RegexTest, builder: &mut RegexBuilder) { in apply_options() argument
|
/external/rust/crates/regex/tests/ |
D | test_default.rs | 80 assert!(regex::RegexBuilder::new(r"\0").octal(true).build().is_ok()); in allow_octal() 86 use regex::{Regex, RegexBuilder, RegexSet, RegexSetBuilder}; in oibits() 98 assert_send::<RegexBuilder>(); in oibits() 99 assert_sync::<RegexBuilder>(); in oibits() 100 assert_unwind_safe::<RegexBuilder>(); in oibits() 101 assert_ref_unwind_safe::<RegexBuilder>(); in oibits() 107 assert_send::<bytes::RegexBuilder>(); in oibits() 108 assert_sync::<bytes::RegexBuilder>(); in oibits() 109 assert_unwind_safe::<bytes::RegexBuilder>(); in oibits() 110 assert_ref_unwind_safe::<bytes::RegexBuilder>(); in oibits()
|
D | crazy.rs | 167 use regex::RegexBuilder; in nest_limit_makes_it_parse() 169 RegexBuilder::new( in nest_limit_makes_it_parse()
|
/external/rust/crates/regex/ |
D | CHANGELOG.md | 450 Correct outdated documentation on `RegexBuilder::dot_matches_new_line`. 498 `RegexBuilder`. 729 (`RegexBuilder::compile` was renamed to `RegexBuilder::build`.) 784 `RegexBuilder::size_limit`. 785 * The `RegexBuilder` type has switched from owned `self` method receivers to 788 * The `compile` method on `RegexBuilder` has been renamed to `build`.
|
/external/rust/crates/regex-automata/ |
D | README.md | 131 UTF-8 boundaries, unless `RegexBuilder::allow_invalid_utf8` is enabled.
|