--- parser3/src/classes/file.C 2008/08/15 15:29:42 1.175 +++ parser3/src/classes/file.C 2008/08/29 08:24:17 1.177 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_FILE_C="$Date: 2008/08/15 15:29:42 $"; +static const char * const IDENT_FILE_C="$Date: 2008/08/29 08:24:17 $"; #include "pa_config_includes.h" @@ -614,7 +614,7 @@ static void _list(Request& r, MethodPara if(params.count()>1) { regexp=¶ms.as_no_junction(1, "regexp must not be code").as_string(); - const char* pattern=regexp->cstr(); + const char* pattern=regexp->cstr(String::L_UNSPECIFIED); const char* errptr; int erroffset; int options=PCRE_EXTRA | PCRE_DOTALL; @@ -655,8 +655,8 @@ static void _list(Request& r, MethodPara else if(exec_result<0) { (*pcre_free)(regexp_code); throw Exception(0, - regexp, - "regular expression execute (%d)", + regexp, + print_pcre_exec_error_text(exec_result), exec_result); } }