view 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 source

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;