summaryrefslogtreecommitdiff
path: root/epgfixer/regexp.conf
blob: a7ef68c844d41593ea64b802dd28062f67265f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Remove "Movie: " or "Document: " from the beginning of title field for 
# channels 1, 3, 5, 6 and 7:
#1,3,5-7:title=m/^(?:Movie: |Document: )(?<title>.*)$/

# Also channel IDs can be used:
#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=m/^(?<title>.*)[ ][(](?<rating>[0-9S]{1,2})[)][ ]*$/

# Move parental rating from start of description:
# (12) Lorem ipsum ...
#description=m/^[(](?<rating>[0-9S]{1,2})[)][ ]+(?<description>.*)/

# Replaces every instance of 'foo' with 'bar' in description
#description=s/foo/bar/g

# Matches 'foo' case-insensitively
#description=m/foo/i

# Example of disabled regexp:
#!title=m/^(?:Movie: |Document: )(?<title>.*)$/