Searched refs:REG_ICASE (Results 1 - 12 of 12) sorted by relevance

/ast/src/lib/libast/string/
H A Dstrmatch.c131 reflags |= REG_ICASE;
143 if (regexec(re, b, n, matchstate.match, reflags & ~(REG_MINIMAL|REG_SHELL_GROUP|REG_LEFT|REG_RIGHT|REG_ICASE)))
/ast/src/cmd/re/
H A Dsed3.c41 if (!(reflags&REG_ICASE) && (code = regcomp((regex_t*)rebuf->w,(char*)t->w-((regex_t*)rebuf->w)->re_npat,reflags|REG_ICASE|REG_DELIMITED|REG_MUSTDELIM|((reflags&REG_LENIENT)?0:REG_ESCAPE))))
H A Dtestregex.c225 T(" i REG_ICASE ignore case\n");
354 #ifndef REG_ICASE
435 #ifndef REG_ICASE
436 #define REG_ICASE NOTEST macro
1626 cflags |= REG_ICASE;
H A Dgrep.c758 state.options |= REG_ICASE;
/ast/src/lib/libast/comp/
H A Dfnmatch.c42 FNM_ICASE, REG_ICASE,
/ast/src/lib/libast/misc/
H A Dglob.c312 int meta = ((gp->re_flags & REG_ICASE) && *ap->gl_begin != '/') ? MATCH_META : 0;
484 if (!(gp->re_flags & REG_ICASE) && ((*gp->gl_attr)(gp, dirname, 0) & GLOB_ICASE))
488 if (err = regcomp(&rei, pat, gp->re_flags|REG_ICASE))
494 gp->re_flags = regstat(prei)->re_flags & ~REG_ICASE;
514 if ((ire = gp->gl_ignore) && (gp->re_flags & REG_ICASE))
518 if (regcomp(&gp->re_ignorei, gp->gl_fignore, re_flags|REG_ICASE))
659 gp->re_flags |= REG_ICASE;
728 gp->re_flags |= REG_ICASE;
730 gp->re_flags &= ~REG_ICASE;
H A Dfastfind.c625 if (i = regcomp(&fp->decode.re, pattern, REG_SHELL|REG_AUGMENTED|(fp->decode.ignorecase?REG_ICASE:0)))
/ast/src/lib/libast/include/
H A Dregex.h48 #define REG_ICASE 0x00000004 /* ignore case in match */ macro
/ast/src/lib/libast/regex/
H A Dregcomp.c158 e->map = (e->flags & REG_ICASE) ? env->MAP : env->map;
1471 if (ic = env->flags & REG_ICASE)
1720 if (env->flags & REG_ICASE)
2135 env->flags |= REG_ICASE;
2137 env->flags &= ~REG_ICASE;
2610 *s++ = (env->flags & REG_ICASE) ? toupper(c) : c;
2612 else if (c == C_ESC || (env->flags & REG_ICASE))
2615 if (env->flags & REG_ICASE)
2663 f->re.onechar = (env->flags & REG_ICASE) ? toupper(x) : x;
2960 if (a->flags & REG_ICASE)
[all...]
H A Dregnexec.c661 ic = (rex->flags & REG_ICASE);
1527 if (!(rex->flags & REG_ICASE))
1619 if (!(rex->flags & REG_ICASE))
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c811 state.options |= REG_ICASE;
/ast/src/cmd/nmake/
H A Dexpand.c846 if (n = regcomp(re, pat, REG_SHELL|REG_AUGMENTED|REG_LENIENT|REG_ICASE|REG_LEFT|REG_RIGHT))

Completed in 275 milliseconds