mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29:51 +00:00
parse updated position
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@145 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
c9b139b653
commit
568b829744
3 changed files with 29 additions and 3 deletions
|
@ -452,7 +452,7 @@ public final class BahnProvider implements NetworkProvider
|
|||
+ "(?: <span class=\"[\\w ]*\">(?:(pünktl\\.)|ca. \\+(\\d+))</span>)?" // ontime, delay
|
||||
+ "(?: k\\.A\\.)?" //
|
||||
+ "(?:, <span class=\"red\">([^<]*)</span>)?" // message
|
||||
+ "(?:(?:, )?(Gl\\. " + ParserUtils.P_PLATFORM + "))?" // position
|
||||
+ "(?:(?:, )?(?:<span class=\"red\">heute )?(Gl\\. " + ParserUtils.P_PLATFORM + ")(?:\\s*</span>)?)?" // position
|
||||
, Pattern.DOTALL);
|
||||
private static final Pattern P_DEPARTURES_URI_STATION_ID = Pattern.compile("input=(\\d+)");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue