Searched refs:BRE (Results 1 – 8 of 8) sorted by relevance
118 int type; /* BRE,ERE,ARE,SRE,KRE */993 else if (c == '(' && env->type == BRE) in token() 995 else if (c == ')' && env->type == BRE && env->parnest <= 0) in token() 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') in token() 1011 if (env->type == BRE && (env->cursor == env->pattern || posixkludge == 1)) in token() 1019 if (env->type != BRE && env->parnest <= 0) in token() 2189 typ = BRE; in grp() 2238 typ = BRE; in grp() 3298 env.type = (env.flags & REG_AUGMENTED) ? ARE : (env.flags & REG_EXTENDED) ? ERE : BRE; in regcomp() 3307 env.type = env.type == BRE in regcomp() [all...]
167 #define BRE 0 macro
409 type = BRE; in regdecomp()
984 else if (c == '(' && env->type == BRE) in token()986 else if (c == ')' && env->type == BRE && env->parnest <= 0) in token()997 …if (env->type == BRE && (*(env->cursor + 1) == 0 || *(env->cursor + 1) == env->delimiter || *(env-… in token()1002 if (env->type == BRE && (env->cursor == env->pattern || posixkludge == 1)) in token()1010 if (env->type != BRE && env->parnest <= 0) in token()2159 typ = BRE; in grp()3247 env.type = (env.flags & REG_AUGMENTED) ? ARE : (env.flags & REG_EXTENDED) ? ERE : BRE; in regcomp()3254 env.type = env.type == BRE ? SRE : KRE; in regcomp()
29 09-12-11 regex/regcomp.c: fix BRE/ERE ^^ logic748 02-08-07 regex/regcomp.c: recognize anchors in BRE subexpressions1431 regex: fix REG_LENIENT to map BRE \[+?|] to ERE [+?|]
217 09-12-11 regex/regcomp.c: fix BRE/ERE ^^ logic936 02-08-07 regex/regcomp.c: recognize anchors in BRE subexpressions1619 regex: fix REG_LENIENT to map BRE \[+?|] to ERE [+?|]