Lines Matching refs:pattern
34 char *pattern = NULL, *string = NULL; in main() local
114 pattern = realloc (pattern, p - line); in main()
115 if (pattern == NULL) in main()
124 memcpy (pattern, line + 1, p - line - 1); in main()
125 pattern[p - line - 1] = '\0'; in main()
155 n = regcomp (&re, pattern, in main()
162 linenum, pattern, buf); in main()
190 linenum, pattern, string, rm[0].rm_so, rm[0].rm_eo); in main()
214 linenum, pattern, string, num, in main()
227 linenum, pattern, string, p + 2, num, in main()
234 free (pattern); in main()