summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/Travelynx.pm3
1 files changed, 1 insertions, 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}");