mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-08 15:38:50 +00:00
line
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@744 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
1755a530e0
commit
831f43e9d1
1 changed files with 3 additions and 1 deletions
|
@ -225,7 +225,7 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
+ "<a href=\"/Fahrinfo/bin/stboard\\.bin/dox/dox.*?evaId=(\\d+)&[^>]*>" // destinationId
|
||||
+ "\\s*(.*?)\\s*</a>.*?" // destination
|
||||
, Pattern.DOTALL);
|
||||
private static final Pattern P_DEPARTURES_PLAN_ERRORS = Pattern.compile("(Bhf\\./Hst\\.:)|(Wartungsarbeiten)|"
|
||||
private static final Pattern P_DEPARTURES_PLAN_ERRORS = Pattern.compile("(Bhf\\./Hst\\.:)|(Wartungsarbeiten)|" //
|
||||
+ "(http-equiv=\"refresh\")", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
private static final Pattern P_DEPARTURES_LIVE_HEAD = Pattern.compile(".*?" //
|
||||
|
@ -905,6 +905,8 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
return "R" + line;
|
||||
if (line.equals("11"))
|
||||
return "?11";
|
||||
if (line.equals("R"))
|
||||
return "R"; // Polen
|
||||
if (P_NORMALIZE_LINE_SPECIAL_NUMBER.matcher(line).matches())
|
||||
return "R" + line;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue