mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-10 21:08:47 +00:00
allow ajax to contain whitespace
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@590 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
ba04d07f36
commit
758c24d0de
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ public abstract class AbstractHafasProvider implements NetworkProvider
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final Pattern P_AJAX_GET_STOPS_JSON = Pattern.compile("SLs\\.sls=(.*?);SLs\\.showSuggestion\\(\\);", Pattern.DOTALL);
|
private static final Pattern P_AJAX_GET_STOPS_JSON = Pattern.compile("SLs\\.sls\\s*=\\s*(.*?);\\s*SLs\\.showSuggestion\\(\\);", Pattern.DOTALL);
|
||||||
private static final Pattern P_AJAX_GET_STOPS_ID = Pattern.compile(".*?@L=(\\d+)@.*?");
|
private static final Pattern P_AJAX_GET_STOPS_ID = Pattern.compile(".*?@L=(\\d+)@.*?");
|
||||||
|
|
||||||
protected final List<Location> ajaxGetStops(final String uri) throws IOException
|
protected final List<Location> ajaxGetStops(final String uri) throws IOException
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue