summaryrefslogtreecommitdiff
path: root/epgfixer/regexp.conf
blob: f1b6f5007ed430831fa0c97b956e21a1f2b1f897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Example of disabled regexp:
#!title=^(?: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>.*)$

# Also channel IDs can be used:
#S19.2E-1-1089-12003-0:title=^(?:Movie: |Document: )(?<title>.*)$

# Move parental rating from end of title to correct EPG field:
# Program title (12)
#title=^(?<title>.*)[ ][(](?<rating>[0-9S]{1,2})[)][ ]*$

# Move parental rating from start of description:
# (12) Lorem ipsum ...
#description=^[(](?<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