X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fregex.cpp;h=7e9c8b0c713c11965f9d5f6b7c8afad4cc696926;hp=9ba089d09008c7fd1c23a9d700051984eab11362;hb=7735d609f5ecc2ae924d82c1395f028df9cfabd9;hpb=cc69674bf670178a8076f2ce9740c2e60c4644c9 diff --git a/source/regex.cpp b/source/regex.cpp index 9ba089d..7e9c8b0 100644 --- a/source/regex.cpp +++ b/source/regex.cpp @@ -472,9 +472,9 @@ bool Regex::run(const string &str, const string::const_iterator &begin, RegMatch { unsigned char m=*(j->citer+(c>>3)); match_result=m&(1<<(c&7)); - input_consumed=true; - j->citer+=32; } + input_consumed=true; + j->citer+=32; } else if(instr==MATCH_ANY) {