Mercurial > hg > Applications > Grep
diff regex/regex.cc @ 43:ead0a307449e
add regex.cc
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 03 Mar 2015 00:44:39 +0900 |
parents | |
children | 62739627f8ec |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/regex/regex.cc Tue Mar 03 00:44:39 2015 +0900 @@ -0,0 +1,18 @@ +#include <stdio.h> +#include <stdlib.h> +#include <unistd.h> +#include <math.h> +#include <string.h> +#include <sys/mman.h> +#include <sys/stat.h> +#include <sys/types.h> +#include <fcntl.h> +#include "regex.h" + +void* regex(RegexDataPtr regexD) +{ + char* readText = regexD->readText; + int readTextLen = regexD->readTextLen; + char* searchWord = regexD->searchWord; + int searchWordLen = regexD->searchWordLen; +}