xmltv/lib Augment.pm,1.10,1.11
Nick Morrott <[email protected]> Tue, 12 Jul 2016 01:28:25 +0000
| Newsgroups | gmane.comp.tv.xmltv.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/xmltv/xmltv/lib
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25827/lib
Modified Files:
Augment.pm
Log Message:
Update process_non_title_info()
* update title filter regex to match documented separators
* remove unnecessary escaping in separator character class
Index: Augment.pm
===================================================================
RCS file: /cvsroot/xmltv/xmltv/lib/Augment.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Augment.pm 12 Jul 2016 01:28:11 -0000 1.10
--- Augment.pm 12 Jul 2016 01:28:23 -0000 1.11
***************
*** 1356,1360 ****
if (!defined $self->{'rules'}->{$ruletype}) { return 0; }
! if ( defined $prog->{'_title'} && $prog->{'_title'} =~ m/:/ ) {
my $idx = lc(substr $prog->{'_title'}, 0, 2);
--- 1356,1360 ----
if (!defined $self->{'rules'}->{$ruletype}) { return 0; }
! if ( defined $prog->{'_title'} && $prog->{'_title'} =~ m/[:;-]/ ) {
my $idx = lc(substr $prog->{'_title'}, 0, 2);
***************
*** 1365,1369 ****
_d(4,"\t $line, $key, $value");
! if ( $prog->{'_title'} =~ s/^\Q$key\E\s*[\:;-]\s*//i ) {
l(sprintf("\t Removed '%s' from title. New title '%s' (#%s.%s)",
$key, $prog->{'_title'}, $ruletype, $line));
--- 1365,1369 ----
_d(4,"\t $line, $key, $value");
! if ( $prog->{'_title'} =~ s/^\Q$key\E\s*[:;-]\s*//i ) {
l(sprintf("\t Removed '%s' from title. New title '%s' (#%s.%s)",
$key, $prog->{'_title'}, $ruletype, $line));
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev