00001 /* 00002 * File: regex.h 00003 * 00004 * Description: interface file for regex.c 00005 * 00006 * History: 00007 * date - sf login - description 00008 * 00009 * 01/18/2006 - morphbr;vivijim - coded this file 00010 * 00011 */ 00012 #include <locale.h> 00013 #include <regex.h> 00014 #include <stdio.h> 00015 #include <stdlib.h> 00016 00017 // Function to search for a pattern (regular expression) inside a string 00018 // Returns 0 if found 00019 int match(char *string, regex_t *re); 00020 //int match(char *string, char *pattern, regex_t *re);