Searched refs:REG_LENIENT (Results 1 - 20 of 20) sorted by relevance
/ast/src/lib/libast/comp/ |
H A D | re_comp.c | 59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL)))
|
H A D | regexp.c | 65 n = regcomp(&env->re, pattern, REG_LENIENT|REG_NULL);
|
H A D | regcmp.c | 175 c = regcomp(&re->re, s, REG_EXTENDED|REG_LENIENT|REG_NULL);
|
/ast/src/cmd/re/ |
H A D | sed3.c | 37 if (code = regcomp((regex_t*)rebuf->w,(char*)t->w,reflags|REG_DELIMITED|REG_MUSTDELIM|((reflags®_LENIENT)?0:REG_ESCAPE))) 41 if (!(reflags®_ICASE) && (code = regcomp((regex_t*)rebuf->w,(char*)t->w-((regex_t*)rebuf->w)->re_npat,reflags|REG_ICASE|REG_DELIMITED|REG_MUSTDELIM|((reflags®_LENIENT)?0:REG_ESCAPE))))
|
H A D | sed0.c | 264 reflags = REG_LENIENT; 278 reflags |= REG_LENIENT; 281 reflags &= ~REG_LENIENT;
|
H A D | grep.c | 634 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 D | testregex.c | 240 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 D | sed1.c | 147 if(reflags & REG_LENIENT) 169 if(reflags & REG_LENIENT)
|
H A D | ed.c | 377 ed.reflags |= REG_LENIENT; 1778 ed.reflags |= REG_LENIENT; 1782 ed.reflags &= ~REG_LENIENT;
|
/ast/src/lib/libast/include/ |
H A D | regex.h | 60 #define REG_LENIENT 0x00002000 /* look the other way */ macro
|
/ast/src/cmd/kshlib/cmdtst/ |
H A D | grep.c | 704 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 D | regcomp.c | 781 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 D | expr.c | 312 if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT))
|
/ast/src/cmd/nmake/ |
H A D | expand.c | 728 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 D | error.c | 196 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 D | ppexpr.c | 129 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 D | pax.c | 200 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 D | astconf.c | 1618 if (regcomp(&re, pattern, REG_DISCIPLINE|REG_EXTENDED|REG_LENIENT|REG_NULL))
|
/ast/src/lib/libdss/ |
H A D | cxopen.c | 1859 if (regcomp(&e->re, s, REG_DELIMITED|REG_LENIENT|REG_NULL))
|
/ast/src/cmd/dsslib/flat/ |
H A D | flat.c | 2449 if (code = regcomp(flat->section->re, data, REG_AUGMENTED|REG_LENIENT))
|
Completed in 81 milliseconds