Searched refs:REG_LENIENT (Results 1 - 20 of 20) sorted by relevance

/ast/src/lib/libast/comp/
H A Dre_comp.c59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL)))
H A Dregexp.c65 n = regcomp(&env->re, pattern, REG_LENIENT|REG_NULL);
H A Dregcmp.c175 c = regcomp(&re->re, s, REG_EXTENDED|REG_LENIENT|REG_NULL);
/ast/src/cmd/re/
H A Dsed3.c37 if (code = regcomp((regex_t*)rebuf->w,(char*)t->w,reflags|REG_DELIMITED|REG_MUSTDELIM|((reflags&REG_LENIENT)?0:REG_ESCAPE)))
41 if (!(reflags&REG_ICASE) && (code = regcomp((regex_t*)rebuf->w,(char*)t->w-((regex_t*)rebuf->w)->re_npat,reflags|REG_ICASE|REG_DELIMITED|REG_MUSTDELIM|((reflags&REG_LENIENT)?0:REG_ESCAPE))))
H A Dsed0.c264 reflags = REG_LENIENT;
278 reflags |= REG_LENIENT;
281 reflags &= ~REG_LENIENT;
H A Dgrep.c634 state.options |= REG_LENIENT;
654 state.options |= REG_EXTENDED|REG_LENIENT;
699 state.options |= REG_LENIENT;
702 state.options |= REG_EXTENDED|REG_LENIENT;
705 state.options &= ~REG_LENIENT;
H A Dtestregex.c240 T(" x REG_LENIENT let some errors slide\n");
360 #ifndef REG_LENIENT
441 #ifndef REG_LENIENT
442 #define REG_LENIENT 0 macro
1671 if (REG_LENIENT)
1672 cflags |= REG_LENIENT;
H A Dsed1.c147 if(reflags & REG_LENIENT)
169 if(reflags & REG_LENIENT)
H A Ded.c377 ed.reflags |= REG_LENIENT;
1778 ed.reflags |= REG_LENIENT;
1782 ed.reflags &= ~REG_LENIENT;
/ast/src/lib/libast/include/
H A Dregex.h60 #define REG_LENIENT 0x00002000 /* look the other way */ macro
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c704 state.options |= REG_LENIENT;
741 state.options |= REG_LENIENT;
744 state.options |= REG_EXTENDED|REG_LENIENT;
747 state.options &= ~REG_LENIENT;
998 options = REG_EXTENDED|REG_LENIENT;
1030 return grep("pgrep", REG_EXTENDED|REG_LENIENT, argc, argv, context);
/ast/src/lib/libast/regex/
H A Dregcomp.c781 if (env->type == SRE || c == T_BACK && !(env->flags & (REG_LENIENT|REG_REGEXP)))
799 if (escaped == 1 && (env->flags & (REG_LENIENT|REG_REGEXP)) && (c = mp[env->type+escaped+2]) >= T_META)
870 else if (escaped && !(env->flags & (REG_LENIENT|REG_REGEXP)) && c != ']')
906 else if (env->flags & (REG_LENIENT|REG_REGEXP))
974 if (env->flags & (REG_LENIENT|REG_REGEXP))
1237 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP)))
1254 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP)) && !mbwide())
1288 if (env->type < SRE && !(env->flags & (REG_LENIENT|REG_REGEXP)))
1400 inrange = env->type >= SRE || (env->flags & (REG_LENIENT|REG_REGEXP));
1410 else if (!(env->flags & (REG_LENIENT|REG_REGEX
[all...]
/ast/src/lib/libcmd/
H A Dexpr.c312 if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT))
/ast/src/cmd/nmake/
H A Dexpand.c728 if (*pat && (n = regcomp(&sre, pat, REG_SHELL|REG_AUGMENTED|REG_LENIENT|REG_LEFT|REG_RIGHT)))
793 if (*pat && (n = regcomp(&sre, pat, REG_SHELL|REG_AUGMENTED|REG_LENIENT|REG_LEFT|REG_RIGHT)))
846 if (n = regcomp(re, pat, REG_SHELL|REG_AUGMENTED|REG_LENIENT|REG_ICASE|REG_LEFT|REG_RIGHT))
3678 if (!(n = regcomp(&re, ed, REG_DELIMITED|REG_LENIENT|REG_NULL)))
4036 if (n = regcomp(&re, val, REG_AUGMENTED|REG_LENIENT|REG_NOSUB|REG_NULL))
4043 if (n = regcomp(&re, val, REG_SHELL|REG_AUGMENTED|REG_LEFT|REG_RIGHT|REG_LENIENT|REG_NOSUB|REG_NULL))
/ast/src/lib/libast/misc/
H A Derror.c196 if ((error_state.match || (error_state.match = newof(0, regex_t, 1, 0))) && regcomp(error_state.match, v, REG_EXTENDED|REG_LENIENT))
/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, NiL, 0, 0)) && c != REG_NOMATCH)
/ast/src/cmd/pax/
H A Dpax.c200 if (!(c = regcomp(&mp->re, s, REG_DELIMITED|REG_LENIENT|REG_NULL)))
268 if (c = regcomp(re, s, REG_SHELL|REG_AUGMENTED|REG_DELIMITED|REG_LENIENT|REG_NULL|REG_LEFT|REG_RIGHT))
/ast/src/lib/libast/port/
H A Dastconf.c1618 if (regcomp(&re, pattern, REG_DISCIPLINE|REG_EXTENDED|REG_LENIENT|REG_NULL))
/ast/src/lib/libdss/
H A Dcxopen.c1859 if (regcomp(&e->re, s, REG_DELIMITED|REG_LENIENT|REG_NULL))
/ast/src/cmd/dsslib/flat/
H A Dflat.c2449 if (code = regcomp(flat->section->re, data, REG_AUGMENTED|REG_LENIENT))

Completed in 81 milliseconds