[pim/kitinerary] src/lib/scripts: Support seat ranges in DB PDF tickets

Volker Krause <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 35a70c69b3edd57038869dff123c4beb127b0572 by Volker Krause.
Committed on 06/08/2026 at 15:51.
Pushed by vkrause into branch 'master'.

Support seat ranges in DB PDF tickets

M  +1    -1    src/lib/scripts/deutschebahn.js

https://invent.kde.org/pim/kitinerary/-/commit/35a70c69b3edd57038869dff123c4beb127b0572

diff --git a/src/lib/scripts/deutschebahn.js b/src/lib/scripts/deutschebahn.js
index f89943ec..98d595ad 100644
--- a/src/lib/scripts/deutschebahn.js
+++ b/src/lib/scripts/deutschebahn.js
@@ -12,7 +12,7 @@ function parseSeat(res, text) {
     var coach = text.match(/Wg. (\d+)/);
     if (coach)
         res.reservedTicket.ticketedSeat.seatSection = coach[1];
-    var seat = text.match(/Pl. ([\d ]+\d)/);
+    var seat = text.match(/Pl. ([\d -]+\d)/);
     if (seat)
         res.reservedTicket.ticketedSeat.seatNumber = seat[1];
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.