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

/ast/src/lib/libast/comp/
H A Dfnmatch.c41 FNM_AUGMENTED, REG_AUGMENTED,
/ast/src/lib/libast/string/
H A Dstrmatch.c121 reflags = REG_SHELL|REG_AUGMENTED;
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c256 if (!(state->options & REG_AUGMENTED))
263 if (!(state->options & REG_AUGMENTED))
269 b = (state->options & (REG_AUGMENTED|REG_EXTENDED)) ? "" : "\\";
729 state.options &= ~(REG_AUGMENTED|REG_EXTENDED);
789 state.options |= REG_AUGMENTED;
862 if ((state.options & REG_LITERAL) && (state.options & (REG_AUGMENTED|REG_EXTENDED)))
1003 options = REG_AUGMENTED;
1037 return grep("xgrep", REG_AUGMENTED, argc, argv, context);
/ast/src/lib/libast/regex/
H A Dregdecomp.c406 switch (flags & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL))
411 case REG_AUGMENTED:
412 case REG_AUGMENTED|REG_EXTENDED:
H A Dregcomp.c2182 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
2183 env->flags |= REG_AUGMENTED|REG_EXTENDED;
2188 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
2192 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
2198 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
2203 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
2204 env->flags |= REG_AUGMENTED|REG_SHELL|REG_LEFT|REG_RIGHT;
2217 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
2222 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
2236 env->flags &= ~(REG_AUGMENTED|REG_EXTENDE
[all...]
H A Dregnexec.c1993 k = (env->flags & (REG_SHELL|REG_AUGMENTED)) == (REG_SHELL|REG_AUGMENTED);
/ast/src/lib/libast/include/
H A Dregex.h46 #define REG_AUGMENTED 0x00000001 /* enable ! & < > */ macro
/ast/src/cmd/re/
H A Dgrep.c206 if (!(state.options & REG_AUGMENTED))
210 if (!(state.options & REG_AUGMENTED))
659 state.options |= REG_AUGMENTED;
687 state.options &= ~(REG_AUGMENTED|REG_EXTENDED);
738 state.options |= REG_AUGMENTED;
810 if ((state.options & REG_LITERAL) && (state.options & (REG_AUGMENTED|REG_EXTENDED)))
H A Dsed0.c271 reflags |= REG_AUGMENTED;
H A Dtestregex.c212 T(" A REG_AUGMENTED ARE (egrep with negation)\n");
214 T(" K REG_SHELL|REG_AUGMENTED KRE (ksh glob)\n");
332 #ifndef REG_AUGMENTED
1418 #if (REG_TEST_DEFAULT & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL)) || !defined(REG_EXTENDED)
1849 #if !(REG_TEST_DEFAULT & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL))
1871 #ifdef REG_AUGMENTED
1875 flags = cflags | REG_AUGMENTED;
1897 #ifdef REG_AUGMENTED
1901 flags = cflags | REG_SHELL | REG_AUGMENTED;
/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))
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 Dglob.c610 gp->re_flags = REG_SHELL|REG_NOSUB|REG_LEFT|REG_RIGHT|((flags&GLOB_AUGMENTED)?REG_AUGMENTED:0);
H A Dfastfind.c625 if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0)))
/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/coshell/
H A Devent.c558 if (i = regcomp(&re, s, REG_SHELL|REG_AUGMENTED|REG_LEFT|REG_RIGHT))
828 if (n = regcomp(&con->re, s, REG_SHELL|REG_AUGMENTED|REG_LEFT|REG_RIGHT))
/ast/src/lib/libdss/
H A Ddsstags.c668 return regcomp(con->re, data, REG_AUGMENTED|REG_DISCIPLINE) ? -1 : 0;
H A Dcxopen.c67 if (regcomp(re, pv->string.data, REG_AUGMENTED|REG_DISCIPLINE))
/ast/src/cmd/ksh93/sh/
H A Dio.c1454 if(!(rp = regcache(fname, REG_SHELL|REG_NOSUB|REG_NEWLINE|REG_AUGMENTED|REG_FIRST|REG_LEFT|REG_RIGHT, &r)))
/ast/src/cmd/pax/
H A Dpax.c268 if (c = regcomp(re, s, REG_SHELL|REG_AUGMENTED|REG_DELIMITED|REG_LENIENT|REG_NULL|REG_LEFT|REG_RIGHT))
/ast/src/cmd/dsslib/flat/
H A Dflat.c2449 if (code = regcomp(flat->section->re, data, REG_AUGMENTED|REG_LENIENT))

Completed in 113 milliseconds