diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-12-26 09:56:02 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-12-26 09:56:02 +0100 |
commit | 670f44d27dd4c570baaf58f6992cecbde2688420 (patch) | |
tree | 681ade28bca4737e4cc0c9011c640bae61e5a598 /lib/Travel/Status/DE/IRIS/Result.pm | |
parent | 2d8bd1b9a9929d5c9034bee063c192ca6c951d12 (diff) |
route_interesting: Also remove Hbf suffixes
"Berlin" is more interesting than "Berlin Hbf (tief)" and definitely
better than the previous case of "Berlin (tief)"
Diffstat (limited to 'lib/Travel/Status/DE/IRIS/Result.pm')
-rw-r--r-- | lib/Travel/Status/DE/IRIS/Result.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |