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

/osnet-11/usr/src/cmd/perl/5.8.4/distrib/x2p/
H A Ds2p.PL854 A I<Basic Regular Expression> (BRE), as defined in POSIX 1003.2, consists
860 The possible atoms of a BRE are: B<.>, matching any single character;
877 An unescaped backslash cannot be last in a BRE.
881 The BRE bounds are: B<*>, specifying 0 or more matches of the preceding
887 A bound appearing as the first item in a BRE is taken literally.
953 # bre2p - convert BRE to Perl RE
1139 } elsif( $c =~ /[|+?{}()]/ ){ ## not magic in BRE, but in Perl: \-quote
1869 A `[' in a BRE indicates the beginning of a I<bracket expression>.
1873 A `\' in a BRE is used to make the subsequent character literal.
1897 The BRE an
[all...]
/osnet-11/usr/src/lib/libast/common/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 */
994 else if (c == '(' && env->type == BRE)
996 else if (c == ')' && env->type == BRE && env->parnest <= 0)
1007 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')
1012 if (env->type == BRE && (env->cursor == env->pattern || posixkludge == 1))
1020 if (env->type != BRE && env->parnest <= 0)
2188 typ = BRE;
3277 env.type = (env.flags & REG_AUGMENTED) ? ARE : (env.flags & REG_EXTENDED) ? ERE : BRE;
3286 env.type = env.type == BRE ? SRE : KRE;

Completed in 307 milliseconds