Mercurial > hg > Applications > Grep
diff regex/Regex.h @ 40:c25b75f764a7
add Regex.h
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 02 Mar 2015 22:18:37 +0900 |
parents | |
children | ead0a307449e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/regex/Regex.h Mon Mar 02 22:18:37 2015 +0900 @@ -0,0 +1,13 @@ +typedef struct result { + int matchNum; + int matchLineNum; + char* matchLine; +} Result, *ResultPtr; + +typedef struct bmData { + int* skipTable; + char* readText; + int readTextLen; + char* searchWord; + int searchWordLen; +} BMData, *BMDataPtr;