summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-10-11 21:08:44 +0300
committerMatti Lehtimäki <matti.lehtimaki@gmail.com>2012-10-11 21:08:44 +0300
commitb031563771a52ee3a3a1797910e808e31a8b775b (patch)
tree558631f383c04bbf3e06a8398617d9c0c6f82ea4
parent0b686fe0c360dc882c0fd946e7da14f94f0ad2e5 (diff)
downloadvdr-plugin-epgfixer-b031563771a52ee3a3a1797910e808e31a8b775b.tar.gz
vdr-plugin-epgfixer-b031563771a52ee3a3a1797910e808e31a8b775b.tar.bz2
Change regexp examples to use m// syntax. Update history.
-rw-r--r--HISTORY2
-rw-r--r--epgfixer/regexp.conf10
2 files changed, 7 insertions, 5 deletions
diff --git a/HISTORY b/HISTORY
index 4edf609..12076b9 100644
--- a/HISTORY
+++ b/HISTORY
@@ -7,6 +7,8 @@ VDR Plugin 'epgfixer' Revision History
- Support for channel intervals for channel numbers.
- Support search-and-replace using Perl-style 's///' operator.
- Support Perl-style modifiers when using 's///' or 'm//' operators.
+- Fix appending and prepending to EPG fields.
+- Support stripping control characters from EPG data as in VDR-1.7.31.
2012-05-13: Version 0.2.1
diff --git a/epgfixer/regexp.conf b/epgfixer/regexp.conf
index f1b6f50..0e3df18 100644
--- a/epgfixer/regexp.conf
+++ b/epgfixer/regexp.conf
@@ -1,20 +1,20 @@
# Example of disabled regexp:
-#!title=^(?:Movie: |Document: )(?<title>.*)$
+#!title=m/^(?:Movie: |Document: )(?<title>.*)$/
# Remove "Movie: " or "Document: " from the beginning of title field for
# channels 1, 3, 5, 6 and 7:
-#1,3,5-7:title=^(?:Movie: |Document: )(?<title>.*)$
+#1,3,5-7:title=m/^(?:Movie: |Document: )(?<title>.*)$/
# Also channel IDs can be used:
-#S19.2E-1-1089-12003-0:title=^(?:Movie: |Document: )(?<title>.*)$
+#S19.2E-1-1089-12003-0:title=m/^(?:Movie: |Document: )(?<title>.*)$/
# Move parental rating from end of title to correct EPG field:
# Program title (12)
-#title=^(?<title>.*)[ ][(](?<rating>[0-9S]{1,2})[)][ ]*$
+#title=m/^(?<title>.*)[ ][(](?<rating>[0-9S]{1,2})[)][ ]*$/
# Move parental rating from start of description:
# (12) Lorem ipsum ...
-#description=^[(](?<rating>[0-9S]{1,2})[)][ ]+(?<description>.*)
+#description=m/^[(](?<rating>[0-9S]{1,2})[)][ ]+(?<description>.*)/
# Replaces every instance of 'foo' with 'bar' in description
#description=s/foo/bar/g