Lines Matching defs:string
56 * regmust string (pointer into program) that match must include, or NULL
57 * regmlen length of regmust string
79 * a literal string; for others, it is a node leading into a sub-FSM. In
90 #define ANYOF 4 /* str Match any character in this string. */
91 #define ANYBUT 5 /* str Match any character not in this string. */
94 #define EXACTLY 8 /* str Match this string. */
95 #define NOTHING 9 /* no Match empty string. */
159 #define HASWIDTH 01 /* Known never to match null string. */
281 * longest literal string that must appear and make it the
710 STATIC int regtry(regexp *prog, char *string);
721 - regexec - match a regexp against a string
724 regexec(regexp *prog, char *string)
729 if (prog == NULL || string == NULL) {
740 /* If there is a "must appear" string, look for it. */
742 s = string;
753 regbol = string;
757 return(regtry(prog, string));
760 s = string;
783 regtry(regexp *prog, char *string)
789 reginput = string;
800 prog->startp[0] = string;
1092 /* Literal string, where present. */