Searched refs:REG_MULTIPLE (Results 1 - 5 of 5) sorted by relevance

/ast/src/lib/libast/include/
H A Dregex.h63 #define REG_MULTIPLE 0x00010000 /* multiple \n sep patterns */ macro
/ast/src/cmd/re/
H A Dtestregex.c222 T(" f REG_MULTIPLE multiple \\n separated patterns\n");
369 #ifndef REG_MULTIPLE
447 #ifndef REG_MULTIPLE
448 #define REG_MULTIPLE NOTEST macro
1617 cflags |= REG_MULTIPLE;
H A Dgrep.c218 if (c = regcomp(&x->re, s, state.options|REG_MULTIPLE))
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c702 state.options = REG_FIRST|REG_NOSUB|REG_NULL|REG_DISCIPLINE|REG_MULTIPLE|options;
/ast/src/lib/libast/regex/
H A Dregcomp.c949 if (c == '\n' && (env->flags & REG_MULTIPLE) && !env->delimiter)
1006 if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env->cursor + 1) == env->terminator || *(env->cursor + 1) == '\\' && *(env->cursor + 2) == ')') || (env->flags & REG_MULTIPLE) && *(env->cursor + 1) == '\n')

Completed in 238 milliseconds