X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Fregex.cpp;fp=source%2Fstrings%2Fregex.cpp;h=915d33556f17cdd8d4f3a23c48e9a3f5b8343054;hp=c62405614525dd85b32a73361bd78133e03ef29f;hb=122846f0881673770d88eff7d925ecf25c01b62e;hpb=b116e161e377da0e4e52f07745ecb2d22f962ae9 diff --git a/source/strings/regex.cpp b/source/strings/regex.cpp index c624056..915d335 100644 --- a/source/strings/regex.cpp +++ b/source/strings/regex.cpp @@ -56,7 +56,6 @@ string bad_regex::make_where(const string &e, const string::const_iterator &i) Regex::Regex(const string &expr) { - n_groups = 0; auto iter = expr.begin(); code = compile(expr, iter, n_groups, false); ++n_groups;