diff --git a/RegularExpression.cxx b/RegularExpression.cxx index 4f74eba532383b03e730365d1805311b27158a69..fb4e38029add9ca443038d20ee5964391c5bdd48 100644 --- a/RegularExpression.cxx +++ b/RegularExpression.cxx @@ -359,7 +359,7 @@ bool RegularExpression::compile(const char* exp) this->regmatch.clear(); // Small enough for pointer-storage convention? - if (comp.regsize >= 32767L) { // Probably could be 65535L. + if (comp.regsize >= 65535L) { // RAISE Error, SYM(RegularExpression), SYM(Expr_Too_Big), printf("RegularExpression::compile(): Expression too big.\n"); return false;