Searched refs:REG_EXTENDED (Results 1 - 11 of 11) sorted by relevance

/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c269 b = (state->options & (REG_AUGMENTED|REG_EXTENDED)) ? "" : "\\";
723 state.options |= REG_EXTENDED;
729 state.options &= ~(REG_AUGMENTED|REG_EXTENDED);
744 state.options |= REG_EXTENDED|REG_LENIENT;
862 if ((state.options & REG_LITERAL) && (state.options & (REG_AUGMENTED|REG_EXTENDED)))
988 options = REG_EXTENDED;
998 options = REG_EXTENDED|REG_LENIENT;
1016 return grep("egrep", REG_EXTENDED, argc, argv, context);
1030 return grep("pgrep", REG_EXTENDED|REG_LENIENT, argc, argv, context);
/ast/src/lib/libast/regex/
H A Dregdecomp.c406 switch (flags & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL))
412 case REG_AUGMENTED|REG_EXTENDED:
415 case 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);
2193 env->flags |= REG_EXTENDED;
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);
2217 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERAL|REG_REGEXP|REG_SHELL|REG_LEFT|REG_RIGHT);
2218 env->flags |= REG_EXTENDED|REG_CLASS_ESCAPE;
2222 env->flags &= ~(REG_AUGMENTED|REG_EXTENDED|REG_LITERA
[all...]
/ast/src/lib/libast/comp/
H A Dregcmp.c175 c = regcomp(&re->re, s, REG_EXTENDED|REG_LENIENT|REG_NULL);
/ast/src/lib/libast/include/
H A Dregex.h47 #define REG_EXTENDED 0x00000002 /* enable ( | ) */ macro
/ast/src/cmd/re/
H A Dgrep.c644 state.options |= REG_EXTENDED;
654 state.options |= REG_EXTENDED|REG_LENIENT;
681 state.options |= REG_EXTENDED;
687 state.options &= ~(REG_AUGMENTED|REG_EXTENDED);
702 state.options |= REG_EXTENDED|REG_LENIENT;
810 if ((state.options & REG_LITERAL) && (state.options & (REG_AUGMENTED|REG_EXTENDED)))
H A Dtestregex.c211 T(" E REG_EXTENDED ERE (egrep)\n");
329 #ifndef REG_EXTENDED
1418 #if (REG_TEST_DEFAULT & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL)) || !defined(REG_EXTENDED)
1421 i = REG_EXTENDED != 0;
1849 #if !(REG_TEST_DEFAULT & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL))
1850 #ifdef REG_EXTENDED
1851 if (REG_EXTENDED != 0 && (test & TEST_BRE))
1862 #ifdef REG_EXTENDED
1866 flags = cflags | REG_EXTENDED;
[all...]
H A Dsed0.c275 reflags |= REG_EXTENDED;
/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/cmd/builtin/
H A Dpty.c416 if (!(re = regcache(pattern, REG_EXTENDED, &code)))
/ast/src/lib/libast/port/
H A Dastconf.c1618 if (regcomp(&re, pattern, REG_DISCIPLINE|REG_EXTENDED|REG_LENIENT|REG_NULL))

Completed in 28 milliseconds