X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fstrings%2Fregex.h;fp=source%2Fstrings%2Fregex.h;h=e830c5bbda253cb111e7e3e07199707c8b884e73;hp=094a295cdb77bc230dd0c79254a4459f1567d945;hb=122846f0881673770d88eff7d925ecf25c01b62e;hpb=b116e161e377da0e4e52f07745ecb2d22f962ae9 diff --git a/source/strings/regex.h b/source/strings/regex.h index 094a295..e830c5b 100644 --- a/source/strings/regex.h +++ b/source/strings/regex.h @@ -107,7 +107,7 @@ private: }; Code code; - unsigned n_groups; + unsigned n_groups = 0; public: /** Constructs a new Regex object from a string representation. */