diff --git a/zxing.appspot.com/generator/src/com/google/zxing/web/generator/client/GeoLocationGenerator.java b/zxing.appspot.com/generator/src/com/google/zxing/web/generator/client/GeoLocationGenerator.java index 724a7e05f..62b19722e 100644 --- a/zxing.appspot.com/generator/src/com/google/zxing/web/generator/client/GeoLocationGenerator.java +++ b/zxing.appspot.com/generator/src/com/google/zxing/web/generator/client/GeoLocationGenerator.java @@ -204,7 +204,7 @@ public class GeoLocationGenerator implements GeneratorSource, ChangeListener { protected void fillWithMaps() { String link = mapsLink.getText(); - if (!link.matches("http://maps.google.com/.*")) { + if (!link.startsWith("http://maps.google.")) { return; } String q = "";