From 036fb77c6f84907aa0ff973cfe11d13c1c42c2de Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 8 May 2015 14:09:36 +0200 Subject: route_interesting: also consider airpoirts --- lib/Travel/Status/DE/DeutscheBahn/Result.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Travel') diff --git a/lib/Travel/Status/DE/DeutscheBahn/Result.pm b/lib/Travel/Status/DE/DeutscheBahn/Result.pm index ca61194..00bfb96 100644 --- a/lib/Travel/Status/DE/DeutscheBahn/Result.pm +++ b/lib/Travel/Status/DE/DeutscheBahn/Result.pm @@ -83,7 +83,7 @@ sub route_interesting { $max_parts //= 3; for my $stop (@via) { - if ( $stop =~ m{ ?Hbf}o ) { + if ( $stop =~ m{ Hbf | Flughafen }ox ) { push( @via_main, $stop ); } } -- cgit v1.2.3