view regex/Regex.h @ 110:a3adc5c24e19 pairPro

start branch
author masa
date Fri, 20 Nov 2015 21:02:00 +0900
parents ead0a307449e
children
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;

typedef struct regexData {
    char* readText;
    int readTextLen;
    char* searchWord;
    int searchWordLen;
    char** matchLinesHeads;
    char* matchLineNum;
} RegexData, *RegexDataPtr;