diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-05-08 14:09:36 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-05-08 14:09:36 +0200 |
commit | 036fb77c6f84907aa0ff973cfe11d13c1c42c2de (patch) | |
tree | fa5cc08a3d7e864d654cf6fabf01d9615929a920 /lib/Travel/Status/DE/DeutscheBahn | |
parent | 39c390518b75cd191aaeec3eadbffdf394c5d593 (diff) |
route_interesting: also consider airpoirts
Diffstat (limited to 'lib/Travel/Status/DE/DeutscheBahn')
-rw-r--r-- | lib/Travel/Status/DE/DeutscheBahn/Result.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); } } |