[Schmitzm-commits] r2059 - trunk/schmitzm-adresses/src/main/java/de/schmitzm/adresses

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Wed Jun 27 14:32:27 CEST 2012


Author: alfonx
Date: 2012-06-27 14:32:26 +0200 (Wed, 27 Jun 2012)
New Revision: 2059

Modified:
   trunk/schmitzm-adresses/src/main/java/de/schmitzm/adresses/AddrStringUtil.java
Log:
oadr_strasse

Modified: trunk/schmitzm-adresses/src/main/java/de/schmitzm/adresses/AddrStringUtil.java
===================================================================
--- trunk/schmitzm-adresses/src/main/java/de/schmitzm/adresses/AddrStringUtil.java	2012-06-20 14:40:35 UTC (rev 2058)
+++ trunk/schmitzm-adresses/src/main/java/de/schmitzm/adresses/AddrStringUtil.java	2012-06-27 12:32:26 UTC (rev 2059)
@@ -598,6 +598,8 @@
 		strasse = RegexCache.getInstance().replaceAll(strasse, "str$", "str.");
 
 		strasse = RegexCache.getInstance().replaceAll(strasse, "^Str\\.$", "");
+		
+		strasse = RegexCache.getInstance().replaceFirst(strasse, "([\\d\\s])(?:eg|og|vh|hh)\\s*(?:li|re|links|rechts)$", "$1");
 
 		{
 			// Großschreibung aller Anfangsbuchstaben, AUSSER in den Hausnummerzusätzen



More information about the Schmitzm-commits mailing list