diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-11 09:05:41 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-11 09:05:41 +0200 |
commit | 715d17ed09788e9ab3e050d2e84422be738ed7f6 (patch) | |
tree | 3048e96e8efa201c45973fe5c6c58918ca4ba643 | |
parent | 6c00e35604ef3e54e9fccdfb20e1e1193e6486a2 (diff) |
Group: IC2 ("ICD") have designations as well
-rw-r--r-- | lib/Travel/Status/DE/DBWagenreihung/Group.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/DBWagenreihung/Group.pm b/lib/Travel/Status/DE/DBWagenreihung/Group.pm index a38c52c..39657c1 100644 --- a/lib/Travel/Status/DE/DBWagenreihung/Group.pm +++ b/lib/Travel/Status/DE/DBWagenreihung/Group.pm @@ -354,7 +354,7 @@ sub new { train_no => $json{transport}{number}, }; - if ( $ref->{name} =~ m{ ^ ICE 0* (\d+) $ }x and exists $ice_name{$1} ) { + if ( $ref->{name} =~ m{ ^ IC[DE] 0* (\d+) $ }x and exists $ice_name{$1} ) { $ref->{designation} = $ice_name{$1}; } |