changeset 5484:8f492672d1e5

BedHeightParser: allow white space in km-range
author Tom Gottfried <tom.gottfried@intevation.de>
date Wed, 27 Mar 2013 21:01:13 +0100
parents a5bb0a139f19
children 3b5e1535a459
files flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java	Wed Mar 27 20:21:27 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/BedHeightParser.java	Wed Mar 27 21:01:13 2013 +0100
@@ -67,7 +67,7 @@
         Pattern.compile("^ausgewertete Peilbreite: (\\d*).*");
 
     public static final Pattern META_RANGE =
-        Pattern.compile("^Strecke:\\D*(\\d++.?\\d*)-(\\d++.?\\d*).*");
+        Pattern.compile("^Strecke:\\D*(\\d++.?\\d*) ?- ?(\\d++.?\\d*).*");
 
     public static final Pattern META_EVALUATION_BY =
         Pattern.compile("^Auswerter: (.*).*");

http://dive4elements.wald.intevation.org