Home
last modified time | relevance | path

Searched refs:REG_LENIENT (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dre_comp.c59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL))) in re_comp()
H A Dregexp.c65 n = regcomp(&env->re, pattern, REG_LENIENT|REG_NULL); in _re_comp()
H A Dregcmp.c175 c = regcomp(&re->re, s, REG_EXTENDED|REG_LENIENT|REG_NULL); in regcmp()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregcomp.c906 else if (env->flags & (REG_LENIENT|REG_REGEXP)) in magic()
974 if (env->flags & (REG_LENIENT|REG_REGEXP)) in token()
1288 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP))) in bra()
1410 else if (!(env->flags & (REG_LENIENT|REG_REGEXP))) in bra()
1547 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP))) in bra()
1696 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP))) in bra()
2024 if (env->flags & (REG_LENIENT|REG_REGEXP)) in chr()
2154 env->flags &= ~REG_LENIENT; in grp()
2156 env->flags |= REG_LENIENT; in grp()
2408 if (!(env->flags & (REG_LENIENT|REG_REGEXP))) in grp()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dregex.h60 #define REG_LENIENT 0x00002000 /* look the other way */ macro
/illumos-gate/usr/src/test/libc-tests/tests/regex/
H A Dtestregex.c360 #ifndef REG_LENIENT
441 #ifndef REG_LENIENT
442 #define REG_LENIENT 0 macro
1675 if (REG_LENIENT) in main()
1676 cflags |= REG_LENIENT; in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dexpr.c312 if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT)) in expr_cond()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Derror.c196 …state.match = newof(0, regex_t, 1, 0))) && regcomp(error_state.match, v, REG_EXTENDED|REG_LENIENT)) in setopt()
H A Dmagic.c2069 if (!(n = regcomp(ep->value.sub, p, REG_DELIMITED|REG_LENIENT|REG_NULL|REG_DISCIPLINE))) in load()
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppexpr.c129 …else if ((c = regcomp(&re, pp.token, REG_AUGMENTED|REG_LENIENT|REG_NULL)) || (c = regexec(&re, tmp… in compare()
H A Dppcontrol.c1905 if (i0 = regcomp(&map->re, s, REG_AUGMENTED|REG_DELIMITED|REG_LENIENT|REG_NULL)) in ppcontrol()
1929 …if (!(i0 = regcomp(&edit->re, s, REG_AUGMENTED|REG_DELIMITED|REG_LENIENT|REG_NULL)) && !(i0 = regs… in ppcontrol()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastconf.c1618 if (regcomp(&re, pattern, REG_DISCIPLINE|REG_EXTENDED|REG_LENIENT|REG_NULL)) in astconflist()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE498 06-07-17 regex/regcomp.c: inline a:REG_LEFT|REG_RIGHT p:~REG_LENIENT
1139 regex/regcomp.c: REG_LENIENT|REG_DELIMITED \<newline> => <newline>
1140 regex/regcomp.c: REG_LENIENT \000 => NUL
1619 regex: fix REG_LENIENT to map BRE \[+?|] to ERE [+?|]