--- parser3/src/main/pa_string.C 2006/03/04 18:02:40 1.206 +++ parser3/src/main/pa_string.C 2007/01/18 17:47:44 1.208 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_STRING_C="$Date: 2006/03/04 18:02:40 $"; +static const char * const IDENT_STRING_C="$Date: 2007/01/18 17:47:44 $"; #include "pcre.h" @@ -451,11 +451,13 @@ Table* String::match(Charset& source_cha if(exec_substrings==PCRE_ERROR_NOMATCH) { pcre_free(code); row_action(table, 0/*last time, no raw*/, 0, 0, poststart, postfinish, info); - if(global || subpatterns) - return &table; // global or with subpatterns=true+result - else { - just_matched=false; return 0; // not global=no result - } + // if(global || subpatterns) + // return &table; // global or with subpatterns=true+result + // else { + // just_matched=false; return 0; // not global=no result + // } + just_matched=false; + return &table; } if(exec_substrings<0) { @@ -644,7 +646,7 @@ bool String::deserialize(size_t prolog_s // 1: prolog const char* cur=(const char* )buf+prolog_size; - // 2: langs.count + // 2: chars.count size_t body_length; if(in_buf