From 9acc9822e46fc5dc7b1dc4af52833718ff664f8c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 4 Oct 2020 13:08:45 +0200 Subject: also allow regionalExpress, just to be safe --- lib/Travelynx.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index 926f5a2..32b6b6d 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2397,8 +2397,7 @@ sub startup { } if ( $traewelling->{category} - !~ m{^ (?: national | nationalExpress | regional | suburban ) $ }x - ) + !~ m{^ (?: national .* | regional .* | suburban ) $ }x ) { $self->log->debug( "... status is not a train, but $traewelling->{category}"); -- cgit v1.2.3