MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / NumCaptures

Method NumCaptures

extern/re2/re2/regexp.cc:561–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559};
560
561int Regexp::NumCaptures() {
562 NumCapturesWalker w;
563 w.Walk(this, 0);
564 return w.ncapture();
565}
566
567// Walker class to build map of named capture groups and their indices.
568class NamedCapturesWalker : public Regexp::Walker<Ignored> {

Callers 3

InitMethod · 0.80
TESTFunction · 0.80
TestInstanceMethod · 0.80

Calls 2

WalkMethod · 0.80
ncaptureMethod · 0.80

Tested by 2

TESTFunction · 0.64
TestInstanceMethod · 0.64