Add regex_demo.c file, see if we can move match counts into C code