summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-12-14 19:16:07 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-12-14 19:16:07 +0100
commit60f310abd8f8363d2246ab7c9f61c2cbb84b709a (patch)
tree69df616af261d35ed9b727db4d79fc4844bed392 /bin
parent4ce655c307650b36a6b041690557a517a3e0b04f (diff)
more wagons
Diffstat (limited to 'bin')
-rwxr-xr-xbin/db-wagenreihung-to-json2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-wagenreihung-to-json b/bin/db-wagenreihung-to-json
index 00f9518..28eade5 100755
--- a/bin/db-wagenreihung-to-json
+++ b/bin/db-wagenreihung-to-json
@@ -333,7 +333,7 @@ for my $line (@lines) {
if ( $number
and $line
- =~ m{ ^ \d* \s{1,10} (?<type> D? (WL)? (A|AB|B|W) R? D? [aceimpvw] \S* ) \s* (?<number> \d+ )? (?: $ | \s{6} ) }x
+ =~ m{ ^ \d* \s{1,10} (?<type> D? (WL)? (A|AB|B|W) R? D? [aceimpvw] \S* ) \s* (?<number> \d+ )? (?: $ | \s{3} ) }x
)
{
$state = "wagonorder";