view regex/Regex.h @ 135:e1a262ec75f0 pairPro

impl charclass
author masa
date Fri, 04 Dec 2015 19:07:10 +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;