aboutsummaryrefslogtreecommitdiff
path: root/regex.h
blob: f2659df2a293ac9d1397b34f7d60a750e3c78818 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#ifndef REGEX_METAG_H
#define REGEX_METAG_H


#include <regex.h>
#include "main.h"

static int compile_regex (regex_t * r, const char * regex_text);
static int match_regex (const char* rS, const char * to_match, char* m2[], int nbR);


void regexXtracts(menuC* it, const char* str);
void regexXtract(itemC* it, const char* str);
void regexSelection(menuC* menu, const char* msg);

#endif