From 6e74bfcaf447cf3ba44a67d70fe81c292f9b0ed4 Mon Sep 17 00:00:00 2001 From: Paul Wankadia Date: Thu, 4 Aug 2016 23:39:13 +1000 Subject: [PATCH] Fix a comment about the maximum repeat count. Change-Id: I8f232681798fad75a196d35b54849fadf0b14efc Reviewed-on: https://code-review.googlesource.com/5507 Reviewed-by: Paul Wankadia --- re2/regexp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re2/regexp.h b/re2/regexp.h index 733b508a0..39e20751d 100644 --- a/re2/regexp.h +++ b/re2/regexp.h @@ -523,7 +523,7 @@ class Regexp { // exponential blowup in space requirements. // uint16 to control space usage. // The standard regexp routines will never generate a - // ref greater than the maximum repeat count (100), + // ref greater than the maximum repeat count (1000), // but even so, Incref and Decref consult an overflow map // when ref_ reaches kMaxRef. uint16 ref_;