--- parser3/src/include/pa_string.h 2001/04/03 05:23:40 1.62 +++ parser3/src/include/pa_string.h 2001/04/03 15:07:33 1.66 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.h,v 1.62 2001/04/03 05:23:40 paf Exp $ + $Id: pa_string.h,v 1.66 2001/04/03 15:07:33 paf Exp $ */ #ifndef PA_STRING_H @@ -18,6 +18,8 @@ #include "pa_pool.h" #include "pa_types.h" +class Table; + /** $MAIN:html-typo table elements must enlarge string not more that that that's a tradeoff - otherwise we'd have to scan string twice: @@ -182,6 +184,12 @@ public: const String& delim, Untaint_lang lang, int limit=-1) const; + typedef void (*Row_action)(Table& table, Array& row, void *info); + bool match(const String *aorigin, + const String& regexp, + const String *options, + Table **table, + Row_action row_action, void *info) const; #ifndef NO_STRING_ORIGIN /// origin of string. calculated by first row