MCPcopy Create free account
hub / github.com/Genivia/RE-flex / greedy

Method greedy

lib/pattern.cpp:2286–2290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2284}
2285
2286void Pattern::greedy(Positions& pos) const
2287{
2288 for (Positions::iterator p = pos.begin(); p != pos.end(); ++p)
2289 *p = p->lazy(0);
2290}
2291
2292void Pattern::trim_anchors(Positions& follow) const
2293{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
lazyMethod · 0.45

Tested by

no test coverage detected