Home
last modified time | relevance | path

Searched refs:anchored (Results 1 – 25 of 38) sorted by relevance

12

/third_party/rust/crates/aho-corasick/src/
Dautomaton.rs90 fn anchored(&self) -> bool; in anchored() method
244 *state_id != dead_id() || self.anchored(), in standard_find_at_imp()
303 if self.anchored() && at > 0 && *state_id == self.start_state() { in leftmost_find_at_imp()
342 last_match.is_some() || self.anchored(), in leftmost_find_at_imp()
401 if self.anchored() && at > 0 { in leftmost_find_at_no_state_imp()
409 debug_assert!(!self.anchored()); in leftmost_find_at_no_state_imp()
457 last_match.is_some() || self.anchored(), in leftmost_find_at_no_state_imp()
483 if self.anchored() && at > 0 && *state_id == self.start_state() { in overlapping_find_at()
520 if self.anchored() && at > 0 { in earliest_find_at()
Dnfa.rs64 anchored: bool, field
196 fail: if self.anchored { dead_id() } else { self.start_id }, in add_dense_state()
209 fail: if self.anchored { dead_id() } else { self.start_id }, in add_sparse_state()
224 fn anchored(&self) -> bool { in anchored() method
225 self.anchored in anchored()
542 anchored: bool, field
552 anchored: false, in default()
586 pub fn anchored(&mut self, yes: bool) -> &mut Builder { in anchored() method
587 self.anchored = yes; in anchored()
621 anchored: builder.anchored, in new()
[all …]
Ddfa.rs159 fn anchored(&self) -> bool { in anchored() method
160 self.repr().anchored in anchored()
218 fn anchored(&self) -> bool { in anchored() method
219 self.repr().anchored in anchored()
279 fn anchored(&self) -> bool { in anchored() method
280 self.repr().anchored in anchored()
346 fn anchored(&self) -> bool { in anchored() method
347 self.repr().anchored in anchored()
401 anchored: bool, field
634 anchored: nfa.anchored(), in build()
Dtests.rs895 b.anchored(true);
903 b.anchored(true).dfa(true);
912 b.anchored(true);
921 b.anchored(true).dfa(true);
929 b.anchored(true);
937 b.anchored(true).dfa(true);
945 b.anchored(true);
953 b.anchored(true).dfa(true);
Dahocorasick.rs1785 pub fn anchored(&mut self, yes: bool) -> &mut AhoCorasickBuilder { in anchored() method
1786 self.nfa_builder.anchored(yes); in anchored()
/third_party/pcre2/pcre2/testdata/
Dtestoutput263 abc\=anchored
66 defabc\=anchored
74 Overall options: anchored
79 abc\=anchored
84 defabc\=anchored
113 Overall options: anchored
341 /the quick brown fox/I,anchored
343 Options: anchored
501 Overall options: anchored
508 Overall options: anchored
[all …]
Dtestinput233 abc\=anchored
35 defabc\=anchored
40 abc\=anchored
43 defabc\=anchored
142 /the quick brown fox/I,anchored
463 Mississippi\=anchored
479 Mississippi\=anchored
481 Missouri river\=anchored
3622 # settings of the anchored and startline bits.
4944 /(?<=(?1))((?s))/anchored
[all …]
Dtestoutput17357 abcd\=anchored
360 fail abcd\=anchored
364 abcd\=anchored
366 succeed abcd\=anchored
376 Overall options: anchored
388 Overall options: anchored
Dtestinput17197 abcd\=anchored
199 fail abcd\=anchored
202 abcd\=anchored
203 succeed abcd\=anchored
/third_party/PyYAML/tests/data/
Dspec-05-06.data1 anchored: !local &anchor value
Dspec-05-06.canonical4 ? !!str "anchored"
/third_party/glib/patch/
Dbackport-regex-Add-debug-strings-for-compile-and-match-option-flags.patch38 + g_strv_builder_add (builder, "anchored");
83 + g_strv_builder_add (builder, "anchored");
Dbackport-gregex-Add-G_REGEX_DEFAULT-G_REGEX_MATCH_DEFAULT.patch108 * @G_REGEX_MATCH_ANCHORED: The pattern is forced to be "anchored", that is,
/third_party/mksh/
Dhistrap.c415 bool anchored = *str == '?' ? (++str, false) : true; in hist_get() local
419 anchored)) < 0) in hist_get()
483 findhist(int start, const char *str, bool fwd, bool anchored) in findhist() argument
495 if ((anchored && strncmp(*hp, str, len) == 0) || in findhist()
496 (!anchored && strstr(*hp, str))) in findhist()
Dedit.c5152 bool anchored; in grabsearch() local
5160 anchored = *pat == '^' ? (++pat, true) : false; in grabsearch()
5161 if ((hist = findhist(start, pat, fwd, anchored)) < 0) { in grabsearch()
/third_party/skia/third_party/externals/icu/source/data/translit/
Dsi_si_FONIPA.txt150 # anchored at the beginning of a word, but the remarks before the rules
/third_party/icu/icu4c/source/data/translit/
Dsi_si_FONIPA.txt150 # anchored at the beginning of a word, but the remarks before the rules
/third_party/pcre2/pcre2/src/
Dpcre2_dfa_match.c3311 BOOL utf, anchored, startline, firstline; in pcre2_dfa_match() local
3420 anchored = (options & (PCRE2_ANCHORED|PCRE2_DFA_RESTART)) != 0 || in pcre2_dfa_match()
3689 if (anchored) in pcre2_dfa_match()
3911 (!anchored && check_length < REQ_CU_MAX * 1000)) in pcre2_dfa_match()
3990 if (rc != PCRE2_ERROR_NOMATCH || anchored) in pcre2_dfa_match()
Dpcre2_match.c6320 BOOL anchored; in pcre2_match() local
6721 anchored = ((re->overall_options | options) & PCRE2_ANCHORED) != 0; in pcre2_match()
6971 if (anchored) in pcre2_match()
7206 (!anchored && check_length < REQ_CU_MAX * 1000)) in pcre2_match()
7368 if (anchored || start_match > end_subject) break; in pcre2_match()
/third_party/pcre2/pcre2/
DPrepareRelease144 # forces an anchored regex. Also exclude them for small pages that have
DChangeLog646 increase it substantially for non-anchored patterns.
898 followed by ^ it was not recognized as anchored.
1137 39. If the only branch in a conditional subpattern was anchored, the whole
1138 subpattern was treated as anchored, when it should not have been, since the
1139 assumed empty second branch cannot be anchored. Demonstrated by test patterns
1144 repeated conditional subpattern, and can be found to be anchored if the minimum
1145 quantifier is one or more. I can't see much use for a repeated anchored
1426 anchored.
1506 46. Arrange for anchored patterns to record and use "first code unit" data,
1508 unit". Previously only non-anchored patterns did this.
[all …]
/third_party/rust/crates/regex/
DCHANGELOG.md678 Fix a bug where literal searches did more work than necessary for anchored
784 Improve performance for capture searches on anchored regex.
987 is partially anchored.
1036 A fully anchored RegexSet can now short-circuit.
DPERFORMANCE.md197 Literals in anchored regexes can also be used for detecting non-matches very
DHACKING.md186 it is anchored, its capture names, etc.).
/third_party/pcre2/pcre2/doc/
Dpcre2.txt656 ment for a non-anchored pattern. There is more detail about this in the
1065 take place. For patterns that are not anchored, the count restarts from
1423 If this bit is set, the pattern is forced to be "anchored", that is, it
1736 is not disabled, such a pattern is automatically anchored if
2140 A pattern compiled without PCRE2_ANCHORED is automatically anchored by
2159 For patterns that are auto-anchored, the PCRE2_ANCHORED bit is set in
2197 In the absence of a single first code unit for a non-anchored pattern,
2209 a non-anchored pattern. The third argument should point to a uint32_t
2215 Otherwise, and for anchored patterns, 0 is returned.
2277 PCRE2_INFO_LASTCODEUNIT. For anchored patterns, a last literal value is
[all …]

12