mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 23:29:50 +00:00
fixed occasional trailing space in Berlin station names
This commit is contained in:
parent
61f387bbd0
commit
8b306ac3a8
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ public final class BvgProvider extends AbstractHafasProvider
|
|||
}
|
||||
}
|
||||
|
||||
private static final Pattern P_SPLIT_NAME_PAREN = Pattern.compile("(.*?) \\((.{4,}?)\\)(?: \\((U|S|S\\+U)\\))?");
|
||||
private static final Pattern P_SPLIT_NAME_PAREN = Pattern.compile("(.*?) +\\((.{4,}?)\\)(?: +\\((U|S|S\\+U)\\))?");
|
||||
private static final Pattern P_SPLIT_NAME_COMMA = Pattern.compile("([^,]*), ([^,]*)");
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue