diff options
-rw-r--r-- | cgi/index.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi/index.pl b/cgi/index.pl index 48583fc..65bbcb9 100644 --- a/cgi/index.pl +++ b/cgi/index.pl @@ -98,10 +98,10 @@ sub handle_request { $info = undef; } if ( $hide_low_delay and $info ) { - $info =~ s{ ^ (?: ca\. \s* )? \+ [ 1 2 3 4 ] $ }{}x; + $info =~ s{ (?: ca\. \s* )? \+ [ 1 2 3 4 ] $ }{}x; } if ($info) { - $info =~ s{ ^ (?: ca\. \s* )? \+ (\d+) }{Verspätung ca $1 Min.}x; + $info =~ s{ (?: ca\. \s* )? \+ (\d+) }{Verspätung ca $1 Min.}x; } push( @departures, |