--- parser3/src/main/pa_string.C 2024/11/04 03:53:25 1.277 +++ parser3/src/main/pa_string.C 2025/05/25 17:44:27 1.282 @@ -12,7 +12,7 @@ #include "pa_charset.h" #include "pa_vregex.h" -volatile const char * IDENT_PA_STRING_C="$Id: pa_string.C,v 1.277 2024/11/04 03:53:25 moko Exp $" IDENT_PA_STRING_H; +volatile const char * IDENT_PA_STRING_C="$Id: pa_string.C,v 1.282 2025/05/25 17:44:27 moko Exp $" IDENT_PA_STRING_H; const String String::Empty; @@ -233,15 +233,29 @@ public: *this+=new String("match"); *this+=new String("postmatch"); for(int i=0; i=start', that's(<) impossible return 0; // all chars are empty, just return empty string } else - break; + break; CORD_prev(pos); } @@ -660,7 +674,7 @@ Table* String::match(VRegex* vregex, Row int ovector[ovector_size]; Table::Action_options table_options; - Table& table=*new Table(string_match_table_template, table_options); + Table& table=*new Table(string_match_table_template(), table_options); int prestart=0; int poststart=0;