Searched refs:BRE (Results 1 - 3 of 3) sorted by relevance

/ast/src/lib/libast/regex/
H A Dreglib.h167 #define BRE 0 macro
H A Dregdecomp.c409 type = BRE;
H A Dregcomp.c118 int type; /* BRE,ERE,ARE,SRE,KRE */
993 else if (c == '(' && env->type == BRE)
995 else if (c == ')' && env->type == BRE && env->parnest <= 0)
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')
1011 if (env->type == BRE && (env->cursor == env->pattern || posixkludge == 1))
1019 if (env->type != BRE && env->parnest <= 0)
2189 typ = BRE;
2238 typ = BRE;
3298 env.type = (env.flags & REG_AUGMENTED) ? ARE : (env.flags & REG_EXTENDED) ? ERE : BRE;
3307 env.type = env.type == BRE
[all...]

Completed in 25 milliseconds