1. bug fix in regular-match.c, even... it is some error in it..
2. add test.c file to do test