also allow regionalExpress, just to be safe

This commit is contained in:
Daniel Friesel 2020-10-04 13:08:45 +02:00
parent 9ad3b3c9e8
commit 9acc9822e4

View file

@ -2397,8 +2397,7 @@ sub startup {
} }
if ( $traewelling->{category} if ( $traewelling->{category}
!~ m{^ (?: national | nationalExpress | regional | suburban ) $ }x !~ m{^ (?: national .* | regional .* | suburban ) $ }x )
)
{ {
$self->log->debug( $self->log->debug(
"... status is not a train, but $traewelling->{category}"); "... status is not a train, but $traewelling->{category}");