mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 17:29:51 +00:00
parse 'sonderzug'
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@167 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
ca8a410e01
commit
fab1f8f8ef
2 changed files with 18 additions and 1 deletions
|
@ -465,6 +465,7 @@ public final class BahnProvider implements NetworkProvider
|
|||
+ "(?:(?:, )?(?:<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)
|
||||
+ "(?:,<br/> <span class=\"red\">[^<]*</span>)?" // (sonderzug 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