Mercurial > hg > Applications > Grep
comparison 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 |
comparison
equal
deleted
inserted
replaced
42:cdb4fd81c31f | 43:ead0a307449e |
---|---|
1 #include <stdio.h> | |
2 #include <stdlib.h> | |
3 #include <unistd.h> | |
4 #include <math.h> | |
5 #include <string.h> | |
6 #include <sys/mman.h> | |
7 #include <sys/stat.h> | |
8 #include <sys/types.h> | |
9 #include <fcntl.h> | |
10 #include "regex.h" | |
11 | |
12 void* regex(RegexDataPtr regexD) | |
13 { | |
14 char* readText = regexD->readText; | |
15 int readTextLen = regexD->readTextLen; | |
16 char* searchWord = regexD->searchWord; | |
17 int searchWordLen = regexD->searchWordLen; | |
18 } |