Searched refs:REG_EXTENDED (Results 1 - 11 of 11) sorted by relevance
/ast/src/cmd/kshlib/cmdtst/ |
H A D | grep.c | 269 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 D | regdecomp.c | 406 switch (flags & (REG_AUGMENTED|REG_EXTENDED|REG_SHELL)) 412 case REG_AUGMENTED|REG_EXTENDED: 415 case REG_EXTENDED:
|
H A D | regcomp.c | 2182 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 D | regcmp.c | 175 c = regcomp(&re->re, s, REG_EXTENDED|REG_LENIENT|REG_NULL);
|
/ast/src/lib/libast/include/ |
H A D | regex.h | 47 #define REG_EXTENDED 0x00000002 /* enable ( | ) */ macro
|
/ast/src/cmd/re/ |
H A D | grep.c | 644 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 D | testregex.c | 211 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 D | sed0.c | 275 reflags |= REG_EXTENDED;
|
/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/cmd/builtin/ |
H A D | pty.c | 416 if (!(re = regcache(pattern, REG_EXTENDED, &code)))
|
/ast/src/lib/libast/port/ |
H A D | astconf.c | 1618 if (regcomp(&re, pattern, REG_DISCIPLINE|REG_EXTENDED|REG_LENIENT|REG_NULL))
|
Completed in 28 milliseconds