--- parser3/src/include/pa_string.h 2001/04/09 15:48:56 1.79 +++ parser3/src/include/pa_string.h 2001/04/20 14:18:36 1.81 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.79 2001/04/09 15:48:56 paf Exp $ + $Id: pa_string.h,v 1.81 2001/04/20 14:18:36 paf Exp $ */ #ifndef PA_STRING_H @@ -156,6 +156,11 @@ public: int partial; // unused return cmp(partial, src_ptr, src_size)==0; } + bool operator != (const char* src_ptr) const { + int partial; // unused + return cmp(partial, src_ptr, 0)!=0; + } + /** appends other String. @@ -191,7 +196,8 @@ public: typedef void (*Row_action)(Table& table, Array *row, int start, int finish, void *info); - bool match(const String *aorigin, + bool match(const unsigned char *pcre_tables, + const String *aorigin, const String& regexp, const String *options, Table **table,