Home | History | Annotate | Download | only in re2

Lines Matching refs:anchored

67   // If "anchored", the match must begin at the start of text.
76 bool anchored, bool want_earliest_match, bool run_forward,
188 // Add kStartAnchored for anchored searches.
255 anchored(false),
267 bool anchored;
1589 // The first factor is whether the search is anchored or not.
1591 // two different entry points: one for anchored searches and one for
1593 // and then jumps to the anchored one.)
1608 // Examines text, context, and anchored to determine the right start
1654 if (params->anchored || prog_->anchor_start())
1671 fprintf(stderr, "anchored=%d fwd=%d flags=%#x state=%s firstbyte=%d\n",
1672 params->anchored, params->run_forward, flags,
1698 params->anchored ? prog_->start() : prog_->start_unanchored(),
1749 bool anchored,
1764 fprintf(stderr, "text %s anchored=%d earliest=%d fwd=%d kind %d\n",
1765 text.as_string().c_str(), anchored, want_earliest_match,
1771 params.anchored = anchored;
1889 // Handle full match by running an anchored longest match
1891 bool anchored = anchor == kAnchored || anchor_start() || kind == kFullMatch;
1911 bool matched = dfa->Search(text, context, anchored,
1942 params.anchored = false;
1994 // Pick out start state for anchored search at beginning of text.
1997 params.anchored = true;