metro Lausanne

git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@106 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
andreas.schildbach 2010-08-26 13:32:59 +00:00
parent 78f0f33755
commit 8cd4ca880b

View file

@ -363,7 +363,7 @@ public class SbbProvider implements NetworkProvider
} }
private static final Pattern P_DEPARTURES_HEAD_COARSE = Pattern.compile(".*?" // private static final Pattern P_DEPARTURES_HEAD_COARSE = Pattern.compile(".*?" //
+ "(?:" // + "(?:" //
+ "<p class=\"qs\">\n(.+?)\n</p>.*?" // + "<p class=\"qs\">\n(.+?)\n</p>.*?" //
+ "(?:(.+)|(an dieser Haltestelle keines)).*?" // + "(?:(.+)|(an dieser Haltestelle keines)).*?" //
+ "<p class=\"links\">\n(.+?)\n</p>" // + "<p class=\"links\">\n(.+?)\n</p>" //
@ -574,6 +574,9 @@ public class SbbProvider implements NetworkProvider
if (P_NORMALIZE_TYPE_SBAHN.matcher(ucType).matches()) if (P_NORMALIZE_TYPE_SBAHN.matcher(ucType).matches())
return 'S'; return 'S';
if (ucType.equals("MET")) // Lausanne
return 'U';
if (ucType.equals("TRAM")) if (ucType.equals("TRAM"))
return 'T'; return 'T';
if (ucType.equals("TRA")) if (ucType.equals("TRA"))