*/
#include "test.h"
-void test_regsub(void) {
+static void test_regsub(void) {
pcre *re;
const char *errstr;
int erroffset;
- printf("test_regsub\n");
-
check_integer(regsub_flags(""), 0);
check_integer(regsub_flags("g"), REGSUB_GLOBAL);
check_integer(regsub_flags("i"), REGSUB_CASE_INDEPENDENT);
"foo-x:bBb$aAaA:y-bar");
}
+TEST(regsub);
+
/*
Local Variables:
c-basic-offset:2