Lines Matching refs:preg
24 preg = new llvm_regex();
25 preg->re_endp = regex.end();
30 error = llvm_regcomp(preg, regex.data(), flags|REG_EXTENDED|REG_PEND);
34 llvm_regfree(preg);
35 delete preg;
42 size_t len = llvm_regerror(error, preg, NULL, 0);
45 llvm_regerror(error, preg, &Error[0], len);
52 return preg->re_nsub;
56 unsigned nmatch = Matches ? preg->re_nsub+1 : 0;
64 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND);