Skip to content

Commit

Permalink
Fix a comment about the maximum repeat count.
Browse files Browse the repository at this point in the history
Change-Id: I8f232681798fad75a196d35b54849fadf0b14efc
Reviewed-on: https://code-review.googlesource.com/5507
Reviewed-by: Paul Wankadia <[email protected]>
  • Loading branch information
junyer committed Aug 4, 2016
1 parent ead5eeb commit 6e74bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re2/regexp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_;
Expand Down

0 comments on commit 6e74bfc

Please sign in to comment.