From b9f584093b5f92fe8092963445ec67bde9a3810a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 30 Nov 2011 19:48:38 +0100 Subject: fix "S1 S-Bahn" and similar (Berlin) --- cgi/index.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgi/index.pl b/cgi/index.pl index e1206be..ea2b557 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -163,6 +163,8 @@ sub render_image { // $strp_simple->parse_datetime($time); my $dt; + $line =~ s{ \s* S-Bahn }{}ox; + if ( ( @grep_line and not( grep { $line =~ $_ } @grep_line ) ) or ( @grep_platform and not( $platform ~~ \@grep_platform ) ) or ( $line =~ m{ ^ (RB | RE | IC | EC) }x ) ) -- cgit v1.2.3