diff --git a/ext/re2/re2.cc b/ext/re2/re2.cc index 4616971..1815bf3 100644 --- a/ext/re2/re2.cc +++ b/ext/re2/re2.cc @@ -359,7 +359,7 @@ static VALUE re2_scanner_scan(VALUE self) { std::vector argv(c->number_of_capturing_groups); std::vector args(c->number_of_capturing_groups); - std::vector matches(c->number_of_capturing_groups); + std::vector matches(c->number_of_capturing_groups); if (c->eof) { return Qnil;