Searched refs:REG_LEFT (Results 1 - 14 of 14) sorted by relevance

/ast/src/lib/libast/string/
H A Dstrmatch.c127 reflags |= REG_LEFT;
143 if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT|REG_ICASE)))
/ast/src/lib/libast/comp/
H A Dfnmatch.c55 register int reflags = REG_SHELL|REG_LEFT;
/ast/src/lib/libast/include/
H A Dregex.h55 #define REG_LEFT 0x00000100 /* implicit ^... */ macro
/ast/src/lib/libast/regex/
H A Dregcomp.c2123 env->flags |= (REG_LEFT|REG_RIGHT);
2125 env->flags &= ~(REG_LEFT|REG_RIGHT);
2141 env->flags |= REG_LEFT;
2143 env->flags &= ~REG_LEFT;
2182 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
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_RIGH
[all...]
H A Dregnexec.c1904 else if (!(flags & REG_LEFT))
1968 j = env->once || (flags & REG_LEFT);
1981 if ((flags & REG_LEFT) && env->stack && env->best[0].rm_so)
/ast/src/cmd/re/
H A Dtestregex.c217 T(" a REG_LEFT|REG_RIGHT implicit ^...$\n");
228 T(" l REG_LEFT implicit ^...\n");
241 T(" y REG_LEFT regexec() implicit ^...\n");
357 #ifndef REG_LEFT
438 #ifndef REG_LEFT
439 #define REG_LEFT NOTEST macro
1602 cflags |= REG_LEFT|REG_RIGHT;
1635 cflags |= REG_LEFT;
1677 eflags |= REG_LEFT;
H A Dgrep.c123 * hence REG_LEFT|REG_RIGHT. (An honest, but slow alternative:
724 state.options |= REG_LEFT;
794 state.options |= REG_LEFT|REG_RIGHT;
/ast/src/lib/libcmd/
H A Dexpr.c312 if (n = regcomp(&re, rp.str, REG_LEFT|REG_LENIENT))
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c133 * hence REG_LEFT|REG_RIGHT. (An honest, but slow alternative:
772 state.options |= REG_LEFT;
845 state.options |= REG_LEFT|REG_RIGHT;
/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))
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);
/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/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))

Completed in 58 milliseconds