Home | History | Annotate | Download | only in re2

Lines Matching refs:nsub

871       if (re->nsub() > 0) {
874 Regexp** subcopy = new Regexp*[re->nsub()];
876 for (int i = 1; i < re->nsub(); i++)
878 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags());
919 if (re->nsub() > 0) {
920 sub = re->sub()[re->nsub() - 1]->Incref();
922 Regexp** subcopy = new Regexp*[re->nsub()];
923 subcopy[re->nsub() - 1] = sub; // already have reference
924 for (int i = 0; i < re->nsub() - 1; i++)
926 *pre = Regexp::Concat(subcopy, re->nsub(), re->parse_flags());