mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 13:19:50 +00:00
fix 'no connection' parsing
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@189 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
c5212049c3
commit
be28226673
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ public class OebbProvider implements NetworkProvider
|
|||
private static final Pattern P_QUERY_CONNECTIONS_FORM_ACTION = Pattern
|
||||
.compile("<form id=\"HFSQuery\" action=\"(http://fahrplan\\.oebb\\.at/bin/query\\.exe[^#]*)#");
|
||||
private static final Pattern P_QUERY_CONNECTIONS_ERROR = Pattern
|
||||
.compile("(keine Verbindung gefunden werden)|(liegt nach dem Ende der Fahrplanperiode|liegt vor Beginn der Fahrplanperiode)|(zwischenzeitlich nicht mehr gespeichert)");
|
||||
.compile("(keine Verbindung gefunden|kein Weg gefunden)|(liegt nach dem Ende der Fahrplanperiode|liegt vor Beginn der Fahrplanperiode)|(zwischenzeitlich nicht mehr gespeichert)");
|
||||
private static final Pattern P_PRE_ADDRESS = Pattern.compile(
|
||||
"<select.*? name=\"(REQ0JourneyStopsS0K|REQ0JourneyStopsZ0K|REQ0JourneyStops1\\.0K)\"[^>]*>(.*?)</select>", Pattern.DOTALL);
|
||||
private static final Pattern P_ADDRESSES = Pattern.compile("<option[^>]*>\\s*(.*?)\\s*</option>", Pattern.DOTALL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue