Hey guys, this has been frustruating me for several hours and its bound to have a simple solution so I figured you guys would know the answer.
What is wrong with this statement little bit of code?
#include <regex.h>
int main()
{
regex_t *findDate;
regcomp(findDate,".", 0);
return 0;
}
It crashes on regcomp with a seg error.








