Regular Expressions Search in C