summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2013-09-28 17:03:17 +0200
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2013-09-28 17:03:17 +0200
commit6e954ad800a4696b3818df08bf132a9535a5f03b (patch)
tree98927aff5a4fc843bfd95b0e74eb787ad139cf89 /regexp.h
parent1bb571ae4d12b42863a8f85969439fa1dd2655ec (diff)
downloadvdr-plugin-epgfixer-6e954ad800a4696b3818df08bf132a9535a5f03b.tar.gz
vdr-plugin-epgfixer-6e954ad800a4696b3818df08bf132a9535a5f03b.tar.bz2
Support conditional regular expressions.
These are used only if the content of another EPG field matches to an additional regular expression.
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index 25efae9..18fc08d 100644
--- a/regexp.h
+++ b/regexp.h
@@ -21,12 +21,17 @@ typedef enum { REGEXP_TITLE, REGEXP_SHORTTEXT, REGEXP_DESCRIPTION, REGEXP_UNDEFI
class cRegexp : public cListItem
{
private:
+ char *cregexp;
char *regexp;
char *replacement;
int replace;
+ int cmodifiers;
int modifiers;
+ int csource;
int source;
+ pcre *cre;
pcre *re;
+ pcre_extra *csd;
pcre_extra *sd;
void Compile();
void FreeCompiled();