[mythtv-commits] Ticket #3180: EIT fixup routine for dvb-c netherlands
MythTV
mythtv at cvs.mythtv.org
Tue Mar 13 16:37:13 UTC 2007
#3180: EIT fixup routine for dvb-c netherlands
-------------------------+--------------------------------------------------
Reporter: anonymous | Owner: stuarta
Type: enhancement | Status: new
Priority: minor | Milestone: 0.21
Component: dvb | Version: head
Severity: medium | Resolution:
-------------------------+--------------------------------------------------
Comment(by stuarta):
The year is formatted in two ways:
{{{
year1: uit 1985
year2: (US/1999)
}}}
The director looks like:
van Alan J. Pakula (where i tried to catch van followed by a space and at
least two words starting with a capital (or a capital followed by a dot).
-----
So, I think the regexps should be
{{{
m_nlYear1("\\s+uit\\s\\d{4}");
m_nlYear2("\\s\\([a-zA-Z]+/\\d{4}\\)");
m_nlDirector("\\svan\\s[A-Z][a-zA-Z]+\\s([A-Z]\\.\\s|[A-Z][a-zA-Z]+\\s)+");
}}}
Stuart
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3180#comment:2>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list