mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
fixed parsing of departure with ersatzzug message
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@156 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
45724ce974
commit
50cc56d6ab
2 changed files with 22 additions and 1 deletions
|
@ -458,6 +458,7 @@ public final class BahnProvider implements NetworkProvider
|
|||
+ "(?:, <span class=\"red\">([^<]*)</span>)?" // message
|
||||
+ "(?:(?:, )?(?:<span class=\"red\">heute )?(Gl\\. " + ParserUtils.P_PLATFORM + ")(?:\\s*</span>)?)?" // position
|
||||
+ "(?:,<br/><a[^>]*><span class=\"red\">[^<]*</a></span>)?" // (ersatzzug message)
|
||||
+ "(?:,<br/><span class=\"red\">[^<]*<a[^>]*>[^<]*</a></span>)?" // (ersatzzug message)
|
||||
, 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