Lines Matching defs:pattern
32 const apr_strmatch_pattern *pattern;
38 const char *input2 = "string that contains a pattern...";
39 const char *input3 = "pattern at the start of a string";
40 const char *input4 = "string that ends with a pattern";
42 const char *input6 = "patter\200n, negative chars, contains pattern...";
44 pattern = apr_strmatch_precompile(pool, "pattern", 1);
45 ABTS_PTR_NOTNULL(tc, pattern);
47 pattern_nocase = apr_strmatch_precompile(pool, "pattern", 0);
56 match = apr_strmatch(pattern, input1, strlen(input1));
59 match = apr_strmatch(pattern, input2, strlen(input2));
71 match = apr_strmatch(pattern, input3, strlen(input3));
74 match = apr_strmatch(pattern, input4, strlen(input4));
77 match = apr_strmatch(pattern, input5, strlen(input5));
80 match = apr_strmatch(pattern, input6, strlen(input6));