Home
last modified time | relevance | path

Searched refs:REG_EXTENDED (Results 1 – 25 of 89) sorted by relevance

1234

/netbsd/src/external/bsd/tre/dist/tests/
Dretest.c565 "{2}", REG_EXTENDED, 0); in main()
567 test_comp("a{11}(b{2}c){2}", REG_EXTENDED, 0); in main()
568 test_comp("a{2}{2}xb+xc*xd?x", REG_EXTENDED, 0); in main()
570 REG_EXTENDED, 0); in main()
572 REG_EXTENDED, 0); in main()
576 test_comp("(a)*-\\1b", REG_EXTENDED, 0); in main()
578 test_comp("((.*)\\1)+", REG_EXTENDED, 0); in main()
590 test_comp("(fou){# ~1}", REG_EXTENDED, 0); in main()
591 test_comp("(fuu){#}", REG_EXTENDED, 0); in main()
592 test_comp("(fuu){# ~}", REG_EXTENDED, 0); in main()
[all …]
Dbench.c187 tre_regcomp(&reobj, "a*", REG_EXTENDED); in main()
207 tre_regcomp(&reobj, "(a)*", REG_EXTENDED); in main()
226 tre_regcomp(&reobj, "(a*)", REG_EXTENDED); in main()
245 tre_regcomp(&reobj, "(a*)*|b*", REG_EXTENDED); in main()
284 tre_regcomp(&reobj, tmpbuf, REG_EXTENDED); in main()
298 tre_regcomp(&reobj, "foobar", REG_EXTENDED); in main()
327 tre_regcomp(&reobj, "a*foobar", REG_EXTENDED); in main()
353 tre_regcomp(&reobj, "(a)*foobar", REG_EXTENDED); in main()
383 tre_regcomp(&reobj, "(a|b)*foobar", REG_EXTENDED); in main()
Drandtest.c63 flags < (REG_EXTENDED | REG_ICASE | REG_NEWLINE | REG_NOSUB); in main()
Dtest-str-source.c116 tre_regcomp(&preg, regex, REG_EXTENDED); in test_reguexec()
/netbsd/src/tests/lib/libc/regex/
Dt_exhaust.c199 { p0, REG_EXTENDED },
200 { p1, REG_EXTENDED },
201 { p2, REG_EXTENDED },
202 { p3, REG_EXTENDED },
203 { p4, REG_EXTENDED },
204 { p5, REG_EXTENDED },
Dt_regex_binary.c49 if ((e = regcomp(&re, "[\xe0-\xf1][\xa0-\xd1].*", REG_EXTENDED)) != 0) { in ATF_TC_BODY()
68 if ((e = regcomp(&re, ": j:[]j:[]j:[\xd9j:[]", REG_EXTENDED)) != 0) { in ATF_TC_BODY()
Dmain.c45 int copts = REG_EXTENDED;
202 options('c', f[1]) &~ REG_EXTENDED); in regress()
255 const char *type = (opts & REG_EXTENDED) ? "ERE" : "BRE"; in try()
361 o &= ~REG_EXTENDED; in options()
373 o &= ~REG_EXTENDED; in options()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/libpaa/
Dlibpaa.c101 (void) regcomp(&id_re, "id=\"([^\"]+)\"", REG_EXTENDED); in fill_identity()
110 (void) regcomp(&response_re, "([^;]+);([^;]+);([^;]+);(.*)", REG_EXTENDED); in fill_identity()
241 (void) regcomp(&r, "challenge=\"([^\"]+)\"", REG_EXTENDED); in paa_format_response()
282 (void) regcomp(&signature_regex, "signature=\"([^\"]+)\"", REG_EXTENDED); in paa_check_response()
301 (void) regcomp(&challenge_regex, "^([^;]+);(.+)", REG_EXTENDED); in paa_check_response()
318 (void) regcomp(&realm_regex, "realm=\"([^\"]+)\"", REG_EXTENDED); in paa_check_response()
/netbsd/src/external/bsd/tre/dist/lib/
Dtre-parse.c812 if (ctx->cflags & REG_EXTENDED) in tre_parse_bound()
983 && ctx->cflags & REG_EXTENDED) in tre_parse()
1017 if (ctx->cflags & REG_EXTENDED && c == CHAR_PIPE) in tre_parse()
1019 if ((ctx->cflags & REG_EXTENDED in tre_parse()
1021 || (!(ctx->cflags & REG_EXTENDED) in tre_parse()
1025 if (!(ctx->cflags & REG_EXTENDED) && depth == 0) in tre_parse()
1030 if (!(ctx->cflags & REG_EXTENDED)) in tre_parse()
1121 if (!(ctx->cflags & REG_EXTENDED)) in tre_parse()
1171 if (!(ctx->cflags & REG_EXTENDED) in tre_parse()
1183 if (!(ctx->cflags & REG_EXTENDED)) in tre_parse()
[all …]
Dtre.h106 #define REG_EXTENDED 1 in __weak_alias()
107 #define REG_ICASE (REG_EXTENDED << 1) in __weak_alias()
/netbsd/src/external/bsd/less/dist/
Dpattern.h22 #ifdef REG_EXTENDED
24 #define REGCOMP_FLAG (more_mode ? 0 : REG_EXTENDED)
/netbsd/src/crypto/external/bsd/netpgp/dist/src/hkpd/
Dhkpd.c229 (void) regcomp(&get, HTTPGET, REG_EXTENDED); in hkpd()
230 (void) regcomp(&opterm, OPTERM, REG_EXTENDED); in hkpd()
231 (void) regcomp(&searchterm, SEARCHTERM, REG_EXTENDED); in hkpd()
232 (void) regcomp(&fmtterm, FMT, REG_EXTENDED); in hkpd()
/netbsd/src/external/gpl3/binutils/dist/include/
Dxregex2.h259 #define REG_EXTENDED 1 macro
263 #define REG_ICASE (REG_EXTENDED << 1)
/netbsd/src/external/gpl3/gcc/dist/include/
Dxregex2.h259 #define REG_EXTENDED 1 macro
263 #define REG_ICASE (REG_EXTENDED << 1)
/netbsd/src/external/gpl3/gdb/dist/include/
Dxregex2.h259 #define REG_EXTENDED 1 macro
263 #define REG_ICASE (REG_EXTENDED << 1)
/netbsd/src/external/gpl3/gcc/dist/fixincludes/
Dfixlib.c191 flags = (match ? REG_EXTENDED|REG_NEWLINE in compile_re()
192 : REG_EXTENDED|REG_NEWLINE|REG_NOSUB); in compile_re()
/netbsd/src/external/bsd/mdocml/dist/
Dtest-rewb-bsd.c10 if (regcomp(&re, "[[:<:]]word[[:>:]]", REG_EXTENDED | REG_NOSUB)) in main()
Dtest-rewb-sysv.c10 if (regcomp(&re, "\\<word\\>", REG_EXTENDED | REG_NOSUB)) in main()
/netbsd/src/external/gpl2/xcvs/dist/lib/
Drpmatch.c50 if (regcomp (re, pattern, REG_EXTENDED) != 0) in try()
/netbsd/src/external/bsd/nvi/dist/regex/
Dregex.h67 #define REG_EXTENDED 0001 macro
/netbsd/src/include/
Dregex.h98 #define REG_EXTENDED 0001 macro
/netbsd/src/lib/libform/
Dtype_regex.c67 (REG_EXTENDED | REG_NOSUB | REG_NEWLINE))) != 0) { in create_regex_args()
/netbsd/src/usr.bin/find/
Dmain.c107 regcomp_flags = REG_EXTENDED; in main()
/netbsd/src/crypto/external/bsd/netpgp/dist/src/hkpclient/
Dhkpc.c123 (void) regcomp(&text, "\r\n\r\n", REG_EXTENDED); in hkpc_print_key()
/netbsd/src/external/bsd/atf/dist/atf-c++/detail/
Dtext.cpp68 if (::regcomp(&preg, regex.c_str(), REG_EXTENDED) != 0) in match()

1234