Home
last modified time | relevance | path

Searched refs:REG_NEWLINE (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/head/
H A Dregex.h81 #define REG_NEWLINE 0x00008 /* Treat \n as regular character */ macro
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dengine.c642 *(sp-1) == '\n' && (m->g->cflags&REG_NEWLINE))) { in backref()
649 (m->g->cflags&REG_NEWLINE))) { in backref()
663 (m->g->cflags&REG_NEWLINE)) || in backref()
837 if ((lastc == '\n' && m->g->cflags&REG_NEWLINE) || in walk()
842 if ((c == '\n' && m->g->cflags&REG_NEWLINE) || in walk()
H A Dregcomp.c418 if (p->g->cflags&REG_NEWLINE) in p_ere_exp()
720 if (p->g->cflags&REG_NEWLINE) in p_simp_re()
884 if (cs->invert && p->g->cflags&REG_NEWLINE) in p_bracket()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dregex.h49 #define REG_NEWLINE 0x00000008 /* ^/$ match embedded \n */ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/regex/
H A Dregcomp.c2147 env->flags |= REG_NEWLINE; in grp()
2149 env->flags &= ~REG_NEWLINE; in grp()
2150 env->explicit = (env->flags & (REG_NEWLINE|REG_SPAN)) == REG_NEWLINE ? env->mappednewline : -1; in grp()
2169 env->explicit = (env->flags & (REG_NEWLINE|REG_SPAN)) == REG_NEWLINE ? env->mappednewline : -1; in grp()
3176 if (env->flags & REG_NEWLINE) in special()
3311 if ((env.flags & (REG_NEWLINE|REG_SPAN)) == REG_NEWLINE) in regcomp()
H A Dregnexec.c892 …if ((!(rex->flags & REG_NEWLINE) || s <= env->beg || *(s - 1) != '\n') && ((env->flags & REG_NOTBO… in parse()
1175 if ((!(rex->flags & REG_NEWLINE) || *s != '\n') && ((env->flags & REG_NOTEOL) || s < env->end)) in parse()
/illumos-gate/usr/src/test/libc-tests/tests/regex/
H A Dtestregex.c378 #ifndef REG_NEWLINE
456 #ifndef REG_NEWLINE
457 #define REG_NEWLINE NOTEST macro
1645 cflags |= REG_NEWLINE; in main()
/illumos-gate/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c441 REG_NOSUB|REG_NEWLINE)) != 0) { in setupnamevalue()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dio.c1480 …if(!(rp = regcache(fname, REG_SHELL|REG_NOSUB|REG_NEWLINE|REG_AUGMENTED|REG_FIRST|REG_LEFT|REG_RIG… in sh_redirect()