summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-09-08 00:13:23 +0300
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-09-08 00:13:23 +0300
commit823ced0e58385c959dc9de8a4621004f6e2d5ce0 (patch)
treef3d622596151470420613c486d62e4d1c21a8b85 /regexp.h
parentb94072b545e08d3b06d614267c42eced82bf50a8 (diff)
downloadvdr-plugin-epgfixer-823ced0e58385c959dc9de8a4621004f6e2d5ce0.tar.gz
vdr-plugin-epgfixer-823ced0e58385c959dc9de8a4621004f6e2d5ce0.tar.bz2
Add support for Perl-style operators 's///' and 'm//' and modifiers 'gimsuxX'.
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index 67270c2..970091a 100644
--- a/regexp.h
+++ b/regexp.h
@@ -21,11 +21,15 @@ class cRegexp : public cListItem
{
private:
char *regexp;
+ char *replacement;
+ int replace;
+ int modifiers;
int source;
pcre *re;
pcre_extra *sd;
void Compile();
void FreeCompiled();
+ void ParseRegexp(char *restring);
public:
cRegexp();
virtual ~cRegexp();