search for: pcre_err_offset

Displaying 1 result from an estimated 1 matches for "pcre_err_offset".

Did you mean: pcre_error_offset
2010 Apr 19
1
[PATCH matahari] Removes all code for the previous CPUWrapper class.
...t) -{ - string line; - string regexstr = "(.*\\S)\\s*:\\s*(\\S.*)"; - int desiredmatches = 3; // Match string and two captured substrings - int matchArraySize = desiredmatches * 3; - int results[matchArraySize]; // pcre requires this much - const char *pcre_err; - int pcre_err_offset; - pcre *regex; - - regex = pcre_compile(regexstr.c_str(), // input - 0, // no options - &pcre_err, // where to place static error str - &pcre_err_offset, // index in regex string of error -...