Lines Matching full:regexp
2 * testAutomata.c: simple module for testing regexp automata
38 xmlRegexpPtr regexp = NULL; in testRegexpFile() local
171 regexp = xmlAutomataCompile(am); in testRegexpFile()
174 if (regexp == NULL) { in testRegexpFile()
180 if (regexp == NULL) { in testRegexpFile()
184 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); in testRegexpFile()
198 } else if (regexp != NULL) { in testRegexpFile()
200 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); in testRegexpFile()
209 if (regexp != NULL) in testRegexpFile()
210 xmlRegFreeRegexp(regexp); in testRegexpFile()
225 xmlRegexpPtr regexp; in main() local
238 /* compile it in a regexp and free the automata */ in main()
239 regexp = xmlAutomataCompile(am); in main()
242 /* test the regexp */ in main()
243 xmlRegexpPrint(stdout, regexp); in main()
244 exec = xmlRegNewExecCtxt(regexp, NULL, NULL); in main()
289 /* free the regexp */ in main()
290 xmlRegFreeRegexp(regexp); in main()