summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-10-04 13:08:45 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-10-04 13:09:47 +0200
commit9acc9822e46fc5dc7b1dc4af52833718ff664f8c (patch)
treee04a05f9600098d7cdabe4c140a977b03253a38e /lib
parent9ad3b3c9e821c7ef681fd852a728c178ab2685dd (diff)
also allow regionalExpress, just to be safe1.18.0
Diffstat (limited to 'lib')
-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}");