Professional Documents
Culture Documents
Example of POSIX Regex in C
Example of POSIX Regex in C
#include <sys/types.h>
#include <regex.h>
#include <sys/types.h>
#include <regex.h>
#include <stdio.h>
/* Free compiled regular expression if you want to use the regex_t again */
regfree(®ex);
return 0;
}
https://web.archive.org/web/20160308115653/http://peope.net/old/regex.html 1/1