I've found what appears to be a stack corruption when using regexec()
on a PPC Mac running OS/X 10.3.9. I was wondering if this is a known
problem? Or maybe just an obvious goof on my part???
I am calling regexec() using:
int result = regexec(&d_preg, ss.substr(pos, len).c_str(), 1,
pmatch, 0);
Where pmatch is defined as: regmatch_t pmatch[1];
After the call to regexec(), access to pmatch[0] fails with
BAD_ACCESS error.
I'm compiling the regular expression using: int result = regcomp
(&d_preg, t, REG_EXTENDED);
Thanks,
James
--
James Gallagher jgallagher at opendap.org
OPeNDAP, Inc 406.723.8663