From ab20cf7c89c2c4d6cd1729423a0a3b99b1374994 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 12 Dec 2020 06:48:08 +0100 Subject: add couchette and sleeping car support --- bin/db-wagenreihung-to-json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/db-wagenreihung-to-json b/bin/db-wagenreihung-to-json index 09027ab..893132e 100755 --- a/bin/db-wagenreihung-to-json +++ b/bin/db-wagenreihung-to-json @@ -177,7 +177,7 @@ for my $line (@lines) { if ( $number and $line - =~ m{ ^ \d* \s{1,10} (? D? (A|AB|B|W) R? D? [aeimpvw] \S* ) \s* (? \d+ )? (?: $ | \s{6} ) }x + =~ m{ ^ \d* \s{1,10} (? D? (WL)? (A|AB|B|W) R? D? [aceimpvw] \S* ) \s* (? \d+ )? (?: $ | \s{6} ) }x ) { push( @{ $wagon_map{$number} }, [ $+{type}, $+{number} ] ); -- cgit v1.2.3