Searched refs:REG_LENIENT (Results 1 – 13 of 13) sorted by relevance
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
| H A D | re_comp.c | 59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL))) in re_comp()
|
| H A D | regexp.c | 65 n = regcomp(&env->re, pattern, REG_LENIENT|REG_NULL); in _re_comp()
|
| H A D | regcmp.c | 175 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 D | regcomp.c | 781 if (env->type == SRE || c == T_BACK && !(env->flags & (REG_LENIENT|REG_REGEXP))) in magic() 799 …if (escaped == 1 && (env->flags & (REG_LENIENT|REG_REGEXP)) && (c = mp[env->type+escaped+2]) >= T_… in magic() 870 else if (escaped && !(env->flags & (REG_LENIENT|REG_REGEXP)) && c != ']') in magic() 906 else if (env->flags & (REG_LENIENT|REG_REGEXP)) in magic() 974 if (env->flags & (REG_LENIENT|REG_REGEXP)) in token() 1237 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP))) in bra() 1254 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP)) && !mbwide()) in bra() 1288 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP))) in bra() 1400 inrange = env->type >= SRE || (env->flags & (REG_LENIENT|REG_REGEXP)); in bra() 1410 else if (!(env->flags & (REG_LENIENT|REG_REGEXP))) in bra() [all …]
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
| H A D | regex.h | 60 #define REG_LENIENT 0x00002000 /* look the other way */ macro
|
| /illumos-gate/usr/src/test/libc-tests/tests/regex/ |
| H A D | testregex.c | 358 #ifndef REG_LENIENT 439 #ifndef REG_LENIENT 440 #define REG_LENIENT 0 macro 1673 if (REG_LENIENT) in main() 1674 cflags |= REG_LENIENT; in main()
|
| /illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
| H A D | expr.c | 312 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 D | error.c | 196 …state.match = newof(0, regex_t, 1, 0))) && regcomp(error_state.match, v, REG_EXTENDED|REG_LENIENT)) in setopt()
|
| H A D | magic.c | 2069 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 D | ppexpr.c | 129 …else if ((c = regcomp(&re, pp.token, REG_AUGMENTED|REG_LENIENT|REG_NULL)) || (c = regexec(&re, tmp… in compare()
|
| H A D | ppcontrol.c | 1905 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 D | astconf.c | 1618 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 D | RELEASE | 498 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 [+?|]
|