diff --git a/RegularExpression.cxx b/RegularExpression.cxx index 72596b7886f721e25f0a7317a8efa11aea23581c..fa3551c080e64a0aefc9123e498c03840ff6765d 100644 --- a/RegularExpression.cxx +++ b/RegularExpression.cxx @@ -901,7 +901,7 @@ bool RegularExpression::find(char const* string, // We know what char it must start with. while ((s = strchr(s, this->regstart)) != 0) { if (regFind.regtry(s, rmatch.startp, rmatch.endp, this->program)) - return false; + return true; s++; } else