Show More
@@ -1212,7 +1212,7 b' def _buildregexmatch(kindpats, globsuffi' | |||
|
1212 | 1212 | groupsize = _BASE_SIZE |
|
1213 | 1213 | for idx, r in enumerate(regexps): |
|
1214 | 1214 | piecesize = len(r) |
|
1215 |
if (piecesize + |
|
|
1215 | if (piecesize + _BASE_SIZE) > MAX_RE_SIZE: | |
|
1216 | 1216 | msg = _("matcher pattern is too long (%d bytes)") % piecesize |
|
1217 | 1217 | raise error.Abort(msg) |
|
1218 | 1218 | elif (groupsize + piecesize) > MAX_RE_SIZE: |
General Comments 0
You need to be logged in to leave comments.
Login now