From ca37cdd0009298b677ffbc356741098d609c474d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Sep 2011 19:23:56 +0200 Subject: DeutscheBahn/Result.pm: Add route_timetable accessor --- lib/Travel/Status/DE/DeutscheBahn.pm | 9 ++++----- lib/Travel/Status/DE/DeutscheBahn/Result.pm | 14 +++++++++++++- 2 files changed, 17 insertions(+), 6 deletions(-) (limited to 'lib/Travel/Status/DE') diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 9cda933..46b679e 100644 --- a/lib/Travel/Status/DE/DeutscheBahn.pm +++ b/lib/Travel/Status/DE/DeutscheBahn.pm @@ -117,8 +117,8 @@ sub results { my $xp_info = XML::LibXML::XPathExpression->new('./td[@class="ris"]'); my $re_via = qr{ - ^ \s* (.+?) \s* \n - \d{1,2}:\d{1,2} + ^ \s* (? .+? ) \s* \n + (?