From: E.Smith <31170571+azlm8t@users.noreply.github.com> Date: Sat, 9 Sep 2017 01:00:04 +0000 (+0100) Subject: eit: Minor fixes to regex to make them parsable as JSON for test harness. (#4578) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7088f210eb6931067c5503de9d0e5d9f4738fe7a;p=thirdparty%2Ftvheadend.git eit: Minor fixes to regex to make them parsable as JSON for test harness. (#4578) The strings were not parsable by the JSON parser. Issue: #4578 --- diff --git a/data/conf/epggrab/eit/scrape/uk b/data/conf/epggrab/eit/scrape/uk index 6f5ad66d8..7329db98f 100644 --- a/data/conf/epggrab/eit/scrape/uk +++ b/data/conf/epggrab/eit/scrape/uk @@ -3,23 +3,23 @@ " *\\(S ?([0-9]+),? [Ee]p? ?[0-9]+\\)", " *\\(S ?([0-9]+),? [Ee]p? ?[0-9]+/[0-9]+\\)", " S ?([0-9]+)[ /][Ee]p? ?[0-9]+", - "^S ?([0-9]+),? [Ee]p? ?[0-9]+\\\." + "^S ?([0-9]+),? [Ee]p? ?[0-9]+[.]" ], "episode_num": [ " *\\(S ?[0-9]+,? [Ee]p? ?([0-9]+)\\)", " *\\(S ?[0-9]+,? [Ee]p? ?([0-9]+)/[0-9]+\\)", " S ?[0-9]+[ /][Ee]p? ?([0-9]+)", - "^S ?[0-9]+,? [Ee]p? ?([0-9]+)\\\.", + "^S ?[0-9]+,? [Ee]p? ?([0-9]+)[.]", " *\\([Ee]p ?([0-9]+)\\)", " *\\([Ee]p ?([0-9]+)/[0-9]+\\)", - "^([0-9]+)/[0-9]+\. " + "^([0-9]+)/[0-9]+[.] " ], "airdate": [ "\\(([0-9][0-9][0-9][0-9])\\)" ], "scrape_subtitle": [ "^\\.\\.\\.[^:.]*\\[.:] ([^.0-9][^:]*): ", - "^[0-9]+/[0-9]+\\\. +([^.0-9][^:]*): ", + "^[0-9]+/[0-9]+[.] ?+([^:]*): ", "^([^.0-9][^:]+): " ] }