Home
last modified time | relevance | path

Searched refs:regexp (Results 1 – 25 of 38) sorted by relevance

12

/plan9/sys/src/ape/cmd/pax/
H A Dregexp.h12 typedef struct regexp { struct
20 } regexp; argument
29 extern regexp *regcomp();
H A Dregexp.c220 regexp *regcomp(exp) in regcomp()
223 register regexp *r;
240 return ((regexp *)NULL);
247 r = (regexp *) malloc(sizeof(regexp) + (unsigned) regsize);
248 if (r == (regexp *) NULL)
257 return ((regexp *) NULL);
699 register regexp *prog; in regexec()
705 if (prog == (regexp *)NULL || string == (char *)NULL) {
757 static int regtry(regexp *prog, char *string) in regtry()
762 regexp *prog; in regtry()
[all …]
H A DMakefile101 port.c regexp.c replace.c tar.c ttyio.c warn.c wildmat.c
104 port.o regexp.o replace.o tar.o ttyio.o warn.o wildmat.o $(DIROBJ)
H A Dmkfile20 regexp.$O\
H A Dreplace.c136 if ((rptr->comp = regcomp(pattern)) == (regexp *)NULL) {
H A Dpax.h325 regexp *comp; /* compiled regular expression */
/plan9/mail/lib/
H A Dpatterns4 dump: (legitimate|legal)( marketing)?,? money[ \-]?making opportunity #regexp
6 header: "from *[0-9!\.\-]*\.(net|com|org)![0-9]+ " #regexp
10 hold: ^dear netrepreneur~~owner-venturecap-list #regexp
/plan9/sys/lib/acid/
H A Dtruss35 if regexp(pattern, s[0]) && ((s[1] == 'T') || (s[1] == 'L')) then
174 if(regexp("exits|exec", name)) then stopPC = append stopPC, (addr+offset);
175 if(regexp("read", name)) then readPC = append readPC, (addr+offset);
176 if(regexp("fd2path", name)) then fd2pathPC = append fd2pathPC, (addr+offset);
177 if(regexp("^\\$*await", name)) then awaitPC = append awaitPC, (addr+offset);
178 if(regexp("^\\$*errstr", name)) then errstrPC = append errstrPC, (addr+offset);
180 if(regexp("_wait", name)) then _waitPC = append _waitPC, (addr+offset);
181 if(regexp("_errstr", name)) then _errstrPC = append _errstrPC, (addr+offset);
H A Dthread103 if !regexp("^/sys/src/libc/", file)
104 && !regexp("^/sys/src/libthread/", file)
H A Dport71 if regexp(head s, file) then
550 if regexp(pattern, s[0]) then
/plan9/sys/man/6/
H A DINDEX27 regexp regexp
/plan9/rc/bin/
H A Ddontkill5 echo $0 regexp >[1=2]
/plan9/sys/src/ape/cmd/expr/
H A Dmkfile7 HFILES=regexp.h
/plan9/sys/src/libregexp/
H A Dmkfile13 HFILES=/sys/include/regexp.h\
/plan9/sys/src/cmd/upas/scanmail/
H A Dspam.h12 regexp = 1, /* types: literal string or regular expression */ enumerator
H A Dcommon.c412 type = regexp; in parsepats()
440 if(type == regexp) { in parsepats()
448 new->type = regexp; in parsepats()
/plan9/sys/src/cmd/sam/
H A Dmkfile18 regexp.$O\
H A Dparse.h41 uchar regexp; /* takes a regular expression? */ member
/plan9/sys/src/cmd/acme/
H A Daddr.c119 regexp(Mntdir *md, Text *t, Range lim, Range r, Rune *pat, int dir, int *foundp) in regexp() function
259 r = regexp(md, t, lim, r, pat, dir, evalp); in address()
H A Dedit.h51 uchar regexp; /* takes a regular expression? */ member
/plan9/sys/man/2/
H A DINDEX1107 regcomp regexp
1108 regcomplit regexp
1109 regcompnl regexp
1110 regerror regexp
1111 regexec regexp
1112 regexp regexp
1113 regsub regexp
1114 rregexec regexp
1115 rregsub regexp
/plan9/sys/src/cmd/upas/
H A DREADME10 - port Plan 9's regexp library working on that system (should just compile).
/plan9/sys/src/cmd/aux/na/
H A Dna.y128 %type <e> exp byteexp regexp
262 | MOVE exp ',' .ptr regexp ',' with_or_when phase {
276 | MOVE MEMORY exp ',' regexp ',' regexp {
543 regexp: exp
/plan9/sys/src/cmd/acid/
H A Dbuiltin.c41 void regexp(Node*, Node*);
84 "regexp", regexp,
925 regexp(Node *r, Node *args) in regexp() function
/plan9/sys/src/cmd/fossil/
H A Dfossil-acid111 if !fossilframe && regexp("^/sys/src/cmd/fossil/.*", pcfile(frame[0])) then {

12