assert_submatch 45 lib/common/tests/rules/pcmk__replace_submatches_test.c assert_submatch(NULL, NULL); assert_submatch 46 lib/common/tests/rules/pcmk__replace_submatches_test.c assert_submatch("", NULL); assert_submatch 63 lib/common/tests/rules/pcmk__replace_submatches_test.c assert_submatch("this has an empty submatch %2", assert_submatch 65 lib/common/tests/rules/pcmk__replace_submatches_test.c assert_submatch("this has a nonexistent submatch %3", assert_submatch 72 lib/common/tests/rules/pcmk__replace_submatches_test.c assert_submatch("%0", match); // %0 matches entire string assert_submatch 73 lib/common/tests/rules/pcmk__replace_submatches_test.c assert_submatch("this %1", "this is"); assert_submatch 74 lib/common/tests/rules/pcmk__replace_submatches_test.c assert_submatch("%1 this %ok", "is this %ok");