Okay I figured that one out, it because my regex_t needed to be declared as not a pointer and its address passed to regcomp.
Now I just need to figure out why regexec isn't passing rm_eo and rm_so to time in this;
#include
#include
int main()
{
regex_t findDate;
regmatch_t time[1];
regcomp(&findDate,".", 0);
regexec(&findDate, " . ", 0, time, 0);
return 0;
}
Any ideas on this one?
I've already decided I hate regular expressions and everything they stand for =P








