From 670f44d27dd4c570baaf58f6992cecbde2688420 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 26 Dec 2018 09:56:02 +0100 Subject: route_interesting: Also remove Hbf suffixes "Berlin" is more interesting than "Berlin Hbf (tief)" and definitely better than the previous case of "Berlin (tief)" --- lib/Travel/Status/DE/IRIS/Result.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index 8282033..d1b6cb9 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -727,7 +727,7 @@ sub route_interesting { } for (@via_show) { - s{ ?Hbf}{}; + s{ \s? Hbf .* }{}x; } return @via_show; -- cgit v1.2.3