Home
last modified time | relevance | path

Searched refs:regexec (Results 1 – 25 of 96) sorted by relevance

1234

/freebsd/contrib/mandoc/
H A Dtest-rewb-bsd.c12 if (regexec(&re, "the word is here", 0, NULL, 0)) in main()
14 if (regexec(&re, "same word", 0, NULL, 0)) in main()
16 if (regexec(&re, "word again", 0, NULL, 0)) in main()
18 if (regexec(&re, "word", 0, NULL, 0)) in main()
20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH) in main()
22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH) in main()
24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH) in main()
H A Dtest-rewb-sysv.c12 if (regexec(&re, "the word is here", 0, NULL, 0)) in main()
14 if (regexec(&re, "same word", 0, NULL, 0)) in main()
16 if (regexec(&re, "word again", 0, NULL, 0)) in main()
18 if (regexec(&re, "word", 0, NULL, 0)) in main()
20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH) in main()
22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH) in main()
24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH) in main()
H A Ddbm_map.c190 return regexec(match->re, str, 0, NULL, 0) == 0; in dbm_match()
/freebsd/lib/libc/regex/
H A DMakefile.inc6 SRCS+= regcomp.c regerror.c regexec.c regfree.c
15 MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3
16 MLINKS+=regexec.3 regfree.3
H A DSymbol.map3 regexec;
/freebsd/lib/libc/regex/grot/
H A DMakefile27 REGSRC = regcomp.c regerror.c regexec.c regfree.c engine.c
31 OBJPRODN = regcomp.o regexec.o regerror.o regfree.o
36 LINTC = regcomp.c regexec.c regerror.c regfree.c debug.c main.c $(SRCMISSING)
58 regcomp.o regexec.o regfree.o debug.o: utils.h regex.h regex2.h
60 regexec.o: engine.c engine.ih
H A Dmain.c95 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); in main()
250 err = regexec(&re, f2copy, NSUBS, subs, options('e', f1)); in try()
/freebsd/lib/libc/locale/
H A Drpmatch.c45 if (regexec(&yes, response, 0, NULL, 0) == 0) in rpmatch()
47 else if (regexec(&no, response, 0, NULL, 0) == 0) in rpmatch()
/freebsd/contrib/nvi/regex/
H A Dregex.h106 #define regexec nvi_regexec macro
111 int regexec(const regex_t *,
/freebsd/contrib/ncurses/form/
H A Dfty_regex.c56 #undef regexec
71 #define regexec(r,s,n,m,x) PCRE2regexec(r,s,n,m,x) macro
342 match = (regexec(ap->pRegExp, field_buffer(field, 0), 0, NULL, 0) in Check_RegularExpression_Field()
/freebsd/contrib/nvi/common/
H A Dsearch.c237 eval = regexec(&sp->re_c, l, 1, match, in f_search()
370 eval = regexec(&sp->re_c, l, 1, match, in b_search()
405 eval = regexec(&sp->re_c, l, 1, match, in b_search()
/freebsd/lib/libcompat/4.3/
H A Dre_comp.c86 rc = regexec(&re_regexp, s, 0, NULL, 0); in re_exec()
/freebsd/lib/libregex/
H A DSymbol.map13 regexec;
/freebsd/contrib/less/
H A Dregexp.h29 extern int regexec _ANSI_ARGS_((regexp *prog, constant char *string));
H A Dpattern.c333 matched = !regexec(pattern, line, RM_COUNT, rm, flags); in match_pattern1()
432 matched = regexec(pattern, line); in match_pattern1()
/freebsd/bin/ed/
H A Dsub.c181 if (!regexec(pat, txt, SE_MAX, rm, 0)) { in substitute_matching_text()
205 !regexec(pat, txt, SE_MAX, rm, REG_NOTBOL)); in substitute_matching_text()
/freebsd/include/
H A Dregex.h111 int regexec(const regex_t * __restrict, const char * __restrict, size_t,
/freebsd/usr.bin/m4/
H A Dgnum4.c337 while ((error = regexec(re, string, re->re_nsub+1, pm, flags)) == 0) { in do_subst()
376 switch(error = regexec(re, string, re->re_nsub+1, pm, 0)) { in do_regexp()
394 switch(error = regexec(re, string, re->re_nsub+1, pm, 0)) { in do_regexpindex()
/freebsd/contrib/flex/src/
H A Dfilter.c358 && regexec (&regex_linedir, buf, 3, m, 0) == 0) { in filter_fix_linedirs()
407 && regexec (&regex_blank_line, buf, 0, NULL, in filter_fix_linedirs()
/freebsd/contrib/libucl/
H A Dconfigure.ac95 AC_SEARCH_LIBS([regexec], [regex], [
101 [AC_MSG_ERROR([unable to find the regexec() function])])],
/freebsd/usr.bin/killall/
H A Dkillall.c364 if (regexec(&rgx, thiscmd, 0, &pmatch, in main()
390 if (regexec(&rgx, thiscmd, 0, &pmatch, in main()
/freebsd/usr.sbin/fifolog/fifolog_reader/
H A Dfifolog_reader.c60 if (opt_R != NULL && regexec(&R, (const char *)p, 0, NULL, 0)) in Render()
/freebsd/contrib/netbsd-tests/lib/libc/regex/
H A Dmain.c126 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); in main()
282 err = regexec(&re, f2copy, NSUBS, subs, options('e', f1)); in try()
/freebsd/contrib/ntp/sntp/libopts/
H A Dstack.c91 res = regexec(&re, pzSrc, (size_t)0, NULL, 0); in optionUnstackArg()
/freebsd/contrib/atf/atf-c++/detail/
H A Dtext.cpp68 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); in match()

1234