mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 08:10:46 +00:00
allow for splitting Switzerland addresses as well
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@686 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
0387eebafb
commit
f87c3c4936
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final Pattern P_SPLIT_ADDRESS = Pattern.compile("(\\d{5}\\s+[^,]+),\\s+(.*)");
|
private static final Pattern P_SPLIT_ADDRESS = Pattern.compile("(\\d{4,5}\\s+[^,]+),\\s+(.*)");
|
||||||
|
|
||||||
protected String[] splitPlaceAndName(final String name)
|
protected String[] splitPlaceAndName(final String name)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue