--- parser3/src/main/pa_string.C 2001/04/20 14:18:43 1.77 +++ parser3/src/main/pa_string.C 2001/04/23 15:12:06 1.79 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_string.C,v 1.77 2001/04/20 14:18:43 paf Exp $ + $Id: pa_string.C,v 1.79 2001/04/23 15:12:06 paf Exp $ */ #include "pa_config_includes.h" @@ -456,7 +456,6 @@ void String::split(Array& result, } } -/// @test really @b test: s x m [tested: i & g ] static void regex_options(char *options, int *result){ struct Regex_option { char key; @@ -464,7 +463,7 @@ static void regex_options(char *options, int *result; } regex_option[]={ {'i', 0, PCRE_CASELESS, result}, // a=A - {'s', 0, PCRE_DOTALL, result}, // \n\n$ + {'s', 0, PCRE_DOTALL, result}, // \n\n$ [default] {'x', 0, PCRE_EXTENDED, result}, // whitespace in regex ignored {'m', PCRE_DOTALL, PCRE_MULTILINE, result}, // ^aaa\n$^bbb\n$ {'g', 0, true, result+1}, // many rows